	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_bearer_get_names          ## -- Begin function tipc_bearer_get_names
	.p2align	4, 0x90
_tipc_bearer_get_names:                 ## @tipc_bearer_get_names
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MAX_BEARERS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_TIPC_MAX_BEARER_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TLV_SPACE
	imull	%eax, %ebx
	movl	%ebx, %edi
	callq	_tipc_cfg_reply_alloc
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	_tipc_net_lock@GOTPCREL(%rip), %rdi
	callq	_read_lock_bh
	movq	_media_count@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_11
## %bb.2:
	movq	_media_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_MAX_BEARERS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edx, %edx
	movq	_tipc_bearers@GOTPCREL(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_media_count@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	%edx
	addq	$4, %rdi
	cmpl	%ecx, %edx
	jge	LBB0_11
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	testl	%eax, %eax
	jle	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	$16, %r12d
	xorl	%r14d, %r14d
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=2
	incq	%r14
	movslq	%eax, %rcx
	addq	$24, %r12
	cmpq	%rcx, %r14
	jge	LBB0_9
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r13), %rcx
	cmpq	$0, (%rcx,%r12)
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	cmpq	%rdi, -8(%rcx,%r12)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	_TIPC_TLV_BEARER_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	-16(%rcx,%r12), %ebx
	movl	%ebx, %edi
	callq	_strlen
	leaq	1(%rax), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_tipc_cfg_append_tlv
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	_MAX_BEARERS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_8
LBB0_11:
	movq	_tipc_net_lock@GOTPCREL(%rip), %rdi
	callq	_read_unlock_bh
LBB0_12:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_BEARERS,4,2                ## @MAX_BEARERS
	.comm	_TIPC_MAX_BEARER_NAME,4,2       ## @TIPC_MAX_BEARER_NAME
	.comm	_tipc_net_lock,4,2              ## @tipc_net_lock
	.comm	_media_list,8,3                 ## @media_list
	.comm	_media_count,4,2                ## @media_count
	.comm	_tipc_bearers,8,3               ## @tipc_bearers
	.comm	_TIPC_TLV_BEARER_NAME,4,2       ## @TIPC_TLV_BEARER_NAME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_bearer_get_names          ; -- Begin function tipc_bearer_get_names
	.p2align	2
_tipc_bearer_get_names:                 ; @tipc_bearer_get_names
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x22, _MAX_BEARERS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MAX_BEARERS@GOTPAGEOFF]
	ldr	w19, [x22]
Lloh2:
	adrp	x8, _TIPC_MAX_BEARER_NAME@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TIPC_MAX_BEARER_NAME@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_TLV_SPACE
	mul	w0, w0, w19
	bl	_tipc_cfg_reply_alloc
	mov	x19, x0
	cbz	x0, LBB0_12
; %bb.1:
Lloh5:
	adrp	x0, _tipc_net_lock@GOTPAGE
Lloh6:
	ldr	x0, [x0, _tipc_net_lock@GOTPAGEOFF]
	bl	_read_lock_bh
Lloh7:
	adrp	x8, _media_count@GOTPAGE
Lloh8:
	ldr	x8, [x8, _media_count@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_11
; %bb.2:
	mov	w24, #0
Lloh10:
	adrp	x8, _media_list@GOTPAGE
Lloh11:
	ldr	x8, [x8, _media_list@GOTPAGEOFF]
Lloh12:
	ldr	x25, [x8]
	ldr	w8, [x22]
Lloh13:
	adrp	x26, _tipc_bearers@GOTPAGE
Lloh14:
	ldr	x26, [x26, _tipc_bearers@GOTPAGEOFF]
Lloh15:
	adrp	x27, _TIPC_TLV_BEARER_NAME@GOTPAGE
Lloh16:
	ldr	x27, [x27, _TIPC_TLV_BEARER_NAME@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh17:
	adrp	x9, _media_count@GOTPAGE
Lloh18:
	ldr	x9, [x9, _media_count@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w24, w24, #1
	add	x25, x25, #4
	cmp	w24, w9
	b.ge	LBB0_11
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x28, #0
	mov	x23, #0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x23, x23, #1
	add	x28, x28, #24
	cmp	x23, w8, sxtw
	b.ge	LBB0_3
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x26]
	add	x10, x9, x28
	ldr	x11, [x10, #16]
	cbz	x11, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x10, [x10, #8]
	cmp	x10, x25
	b.ne	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	w20, [x27]
	ldr	w21, [x9, x28]
	mov	x0, x21
	bl	_strlen
	add	x3, x0, #1
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_tipc_cfg_append_tlv
	ldr	w8, [x22]
	b	LBB0_7
LBB0_11:
Lloh20:
	adrp	x0, _tipc_net_lock@GOTPAGE
Lloh21:
	ldr	x0, [x0, _tipc_net_lock@GOTPAGEOFF]
	bl	_read_unlock_bh
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_BEARERS,4,2                ; @MAX_BEARERS
	.comm	_TIPC_MAX_BEARER_NAME,4,2       ; @TIPC_MAX_BEARER_NAME
	.comm	_tipc_net_lock,4,2              ; @tipc_net_lock
	.comm	_media_list,8,3                 ; @media_list
	.comm	_media_count,4,2                ; @media_count
	.comm	_tipc_bearers,8,3               ; @tipc_bearers
	.comm	_TIPC_TLV_BEARER_NAME,4,2       ; @TIPC_TLV_BEARER_NAME
.subsections_via_symbols
