	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function append_radio_msg
_append_radio_msg:                      ## @append_radio_msg
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %edx
	movq	%rdi, %r14
	movq	_HWSIM_ATTR_RADIO_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_nla_put_u32
	testl	%eax, %eax
	js	LBB0_20
## %bb.1:
	movl	(%r15), %edx
	testl	%edx, %edx
	je	LBB0_3
## %bb.2:
	movq	_HWSIM_ATTR_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_nla_put_u32
	testl	%eax, %eax
	js	LBB0_20
LBB0_3:
	movq	48(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	movq	_HWSIM_ATTR_REG_HINT_ALPHA2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$2, %edx
	callq	_nla_put
	testl	%eax, %eax
	js	LBB0_20
LBB0_5:
	cmpq	$0, 8(%r15)
	je	LBB0_11
## %bb.6:
	movq	_hwsim_world_regdom_custom@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_11
## %bb.7:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	movq	(%rdi,%rbx,8), %rax
	cmpq	8(%r15), %rax
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_8
	jmp	LBB0_11
LBB0_9:
	movq	_HWSIM_ATTR_REG_CUSTOM_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_nla_put_u32
	testl	%eax, %eax
	js	LBB0_20
LBB0_11:
	cmpq	$0, 40(%r15)
	je	LBB0_13
## %bb.12:
	movq	_HWSIM_ATTR_REG_STRICT_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_nla_put_flag
	testl	%eax, %eax
	js	LBB0_20
LBB0_13:
	cmpq	$0, 32(%r15)
	je	LBB0_15
## %bb.14:
	movq	_HWSIM_ATTR_SUPPORT_P2P_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_nla_put_flag
	testl	%eax, %eax
	js	LBB0_20
LBB0_15:
	cmpq	$0, 24(%r15)
	je	LBB0_17
## %bb.16:
	movq	_HWSIM_ATTR_USE_CHANCTX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_nla_put_flag
	testl	%eax, %eax
	js	LBB0_20
LBB0_17:
	movq	16(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.18:
	movq	_HWSIM_ATTR_RADIO_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_strlen
	movq	16(%r15), %rcx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_nla_put
	testl	%eax, %eax
	js	LBB0_20
LBB0_19:
	xorl	%eax, %eax
LBB0_20:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HWSIM_ATTR_RADIO_ID,4,2        ## @HWSIM_ATTR_RADIO_ID
	.comm	_HWSIM_ATTR_CHANNELS,4,2        ## @HWSIM_ATTR_CHANNELS
	.comm	_HWSIM_ATTR_REG_HINT_ALPHA2,4,2 ## @HWSIM_ATTR_REG_HINT_ALPHA2
	.comm	_hwsim_world_regdom_custom,8,3  ## @hwsim_world_regdom_custom
	.comm	_HWSIM_ATTR_REG_CUSTOM_REG,4,2  ## @HWSIM_ATTR_REG_CUSTOM_REG
	.comm	_HWSIM_ATTR_REG_STRICT_REG,4,2  ## @HWSIM_ATTR_REG_STRICT_REG
	.comm	_HWSIM_ATTR_SUPPORT_P2P_DEVICE,4,2 ## @HWSIM_ATTR_SUPPORT_P2P_DEVICE
	.comm	_HWSIM_ATTR_USE_CHANCTX,4,2     ## @HWSIM_ATTR_USE_CHANCTX
	.comm	_HWSIM_ATTR_RADIO_NAME,4,2      ## @HWSIM_ATTR_RADIO_NAME
	.no_dead_strip	_append_radio_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function append_radio_msg
_append_radio_msg:                      ; @append_radio_msg
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x2, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _HWSIM_ATTR_RADIO_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HWSIM_ATTR_RADIO_ID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_nla_put_u32
	tbnz	w0, #31, LBB0_20
; %bb.1:
	ldr	w2, [x20]
	cbz	w2, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _HWSIM_ATTR_CHANNELS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HWSIM_ATTR_CHANNELS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nla_put_u32
	tbnz	w0, #31, LBB0_20
LBB0_3:
	ldr	x3, [x20, #48]
	cbz	x3, LBB0_5
; %bb.4:
Lloh6:
	adrp	x8, _HWSIM_ATTR_REG_HINT_ALPHA2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HWSIM_ATTR_REG_HINT_ALPHA2@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2
	bl	_nla_put
	tbnz	w0, #31, LBB0_20
LBB0_5:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_11
; %bb.6:
Lloh9:
	adrp	x22, _hwsim_world_regdom_custom@GOTPAGE
Lloh10:
	ldr	x22, [x22, _hwsim_world_regdom_custom@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.7:
	mov	x21, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	ldr	x8, [x0, x21, lsl #3]
	ldr	x9, [x20, #8]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x21, x21, #1
	bl	_ARRAY_SIZE
	cmp	x21, w0, sxtw
	b.lt	LBB0_8
	b	LBB0_11
LBB0_10:
Lloh11:
	adrp	x8, _HWSIM_ATTR_REG_CUSTOM_REG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HWSIM_ATTR_REG_CUSTOM_REG@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_nla_put_u32
	tbnz	w0, #31, LBB0_20
LBB0_11:
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_13
; %bb.12:
Lloh14:
	adrp	x8, _HWSIM_ATTR_REG_STRICT_REG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HWSIM_ATTR_REG_STRICT_REG@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nla_put_flag
	tbnz	w0, #31, LBB0_20
LBB0_13:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_15
; %bb.14:
Lloh17:
	adrp	x8, _HWSIM_ATTR_SUPPORT_P2P_DEVICE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _HWSIM_ATTR_SUPPORT_P2P_DEVICE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nla_put_flag
	tbnz	w0, #31, LBB0_20
LBB0_15:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_17
; %bb.16:
Lloh20:
	adrp	x8, _HWSIM_ATTR_USE_CHANCTX@GOTPAGE
Lloh21:
	ldr	x8, [x8, _HWSIM_ATTR_USE_CHANCTX@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nla_put_flag
	tbnz	w0, #31, LBB0_20
LBB0_17:
	ldr	x0, [x20, #16]
	cbz	x0, LBB0_19
; %bb.18:
Lloh23:
	adrp	x8, _HWSIM_ATTR_RADIO_NAME@GOTPAGE
Lloh24:
	ldr	x8, [x8, _HWSIM_ATTR_RADIO_NAME@GOTPAGEOFF]
Lloh25:
	ldr	w21, [x8]
	bl	_strlen
	mov	x2, x0
	ldr	x3, [x20, #16]
	mov	x0, x19
	mov	x1, x21
	bl	_nla_put
	tbnz	w0, #31, LBB0_20
LBB0_19:
	mov	w0, #0
LBB0_20:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_HWSIM_ATTR_RADIO_ID,4,2        ; @HWSIM_ATTR_RADIO_ID
	.comm	_HWSIM_ATTR_CHANNELS,4,2        ; @HWSIM_ATTR_CHANNELS
	.comm	_HWSIM_ATTR_REG_HINT_ALPHA2,4,2 ; @HWSIM_ATTR_REG_HINT_ALPHA2
	.comm	_hwsim_world_regdom_custom,8,3  ; @hwsim_world_regdom_custom
	.comm	_HWSIM_ATTR_REG_CUSTOM_REG,4,2  ; @HWSIM_ATTR_REG_CUSTOM_REG
	.comm	_HWSIM_ATTR_REG_STRICT_REG,4,2  ; @HWSIM_ATTR_REG_STRICT_REG
	.comm	_HWSIM_ATTR_SUPPORT_P2P_DEVICE,4,2 ; @HWSIM_ATTR_SUPPORT_P2P_DEVICE
	.comm	_HWSIM_ATTR_USE_CHANCTX,4,2     ; @HWSIM_ATTR_USE_CHANCTX
	.comm	_HWSIM_ATTR_RADIO_NAME,4,2      ; @HWSIM_ATTR_RADIO_NAME
	.no_dead_strip	_append_radio_msg
.subsections_via_symbols
