	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_media_get_names           ## -- Begin function tipc_media_get_names
	.p2align	4, 0x90
_tipc_media_get_names:                  ## @tipc_media_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MAX_MEDIA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_TIPC_MAX_MEDIA_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TLV_SPACE
	imull	%eax, %ebx
	movl	%ebx, %edi
	callq	_tipc_cfg_reply_alloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_tipc_net_lock@GOTPCREL(%rip), %rdi
	callq	_read_lock_bh
	movq	_media_count@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_4
## %bb.2:
	movq	_media_list@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_TIPC_TLV_MEDIA_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	(%r13,%r12,4), %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
	incq	%r12
	cmpl	(%r14), %r12d
	jl	LBB0_3
LBB0_4:
	movq	_tipc_net_lock@GOTPCREL(%rip), %rdi
	callq	_read_unlock_bh
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_MEDIA,4,2                  ## @MAX_MEDIA
	.comm	_TIPC_MAX_MEDIA_NAME,4,2        ## @TIPC_MAX_MEDIA_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_TLV_MEDIA_NAME,4,2        ## @TIPC_TLV_MEDIA_NAME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_media_get_names           ; -- Begin function tipc_media_get_names
	.p2align	2
_tipc_media_get_names:                  ; @tipc_media_get_names
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, _MAX_MEDIA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_MEDIA@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x8, _TIPC_MAX_MEDIA_NAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TIPC_MAX_MEDIA_NAME@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_TLV_SPACE
	mul	w0, w0, w19
	bl	_tipc_cfg_reply_alloc
	mov	x19, x0
	cbz	x0, LBB0_5
; %bb.1:
Lloh6:
	adrp	x0, _tipc_net_lock@GOTPAGE
Lloh7:
	ldr	x0, [x0, _tipc_net_lock@GOTPAGEOFF]
	bl	_read_lock_bh
Lloh8:
	adrp	x22, _media_count@GOTPAGE
Lloh9:
	ldr	x22, [x22, _media_count@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x23, #0
Lloh10:
	adrp	x8, _media_list@GOTPAGE
Lloh11:
	ldr	x8, [x8, _media_list@GOTPAGEOFF]
Lloh12:
	ldr	x24, [x8]
Lloh13:
	adrp	x25, _TIPC_TLV_MEDIA_NAME@GOTPAGE
Lloh14:
	ldr	x25, [x25, _TIPC_TLV_MEDIA_NAME@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w20, [x25]
	ldr	w21, [x24, x23, lsl #2]
	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]
	add	x23, x23, #1
	cmp	w23, w8
	b.lt	LBB0_3
LBB0_4:
Lloh15:
	adrp	x0, _tipc_net_lock@GOTPAGE
Lloh16:
	ldr	x0, [x0, _tipc_net_lock@GOTPAGEOFF]
	bl	_read_unlock_bh
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_MEDIA,4,2                  ; @MAX_MEDIA
	.comm	_TIPC_MAX_MEDIA_NAME,4,2        ; @TIPC_MAX_MEDIA_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_TLV_MEDIA_NAME,4,2        ; @TIPC_TLV_MEDIA_NAME
.subsections_via_symbols
