	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hwsim_new_radio_nl
_hwsim_new_radio_nl:                    ## @hwsim_new_radio_nl
	.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
	subq	$96, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	xorps	%xmm0, %xmm0
	movups	%xmm0, -56(%rbp)
	movups	%xmm0, -72(%rbp)
	movups	%xmm0, -88(%rbp)
	movups	%xmm0, -104(%rbp)
	movq	$0, -40(%rbp)
	movq	(%rsi), %rcx
	movq	_HWSIM_ATTR_REG_STRICT_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rcx,%rax,4), %eax
	movl	%eax, -120(%rbp)
	movq	_HWSIM_ATTR_SUPPORT_P2P_DEVICE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rcx,%rax,4), %r15d
	movl	%r15d, -116(%rbp)
	movq	_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -112(%rbp)
	movq	_HWSIM_ATTR_DESTROY_RADIO_ON_CLOSE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %edx
	movl	%edx, -108(%rbp)
	movq	_HWSIM_ATTR_CHANNELS@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %edi
	testl	%edi, %edi
	je	LBB0_2
## %bb.1:
	callq	_nla_get_u32
	movl	%eax, -112(%rbp)
LBB0_2:
	testl	%eax, %eax
	jle	LBB0_3
## %bb.7:
	movq	_CFG80211_MAX_NUM_DIFFERENT_CHANNELS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_9
## %bb.8:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str(%rip), %rsi
LBB0_4:
	movq	%r14, %rdi
	callq	_GENL_SET_ERR_MSG
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_6:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_41:
	movl	%ebx, %eax
	addq	$96, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	(%r14), %rcx
	movq	_HWSIM_ATTR_NO_VIF@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpl	$0, (%rcx,%rdx,4)
	je	LBB0_11
## %bb.10:
	movl	$1, -104(%rbp)
LBB0_11:
	movq	_HWSIM_ATTR_USE_CHANCTX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpl	$0, (%rcx,%rdx,4)
	setne	%dl
	cmpl	$2, %eax
	setae	%al
	orb	%dl, %al
	movzbl	%al, %eax
	movl	%eax, -100(%rbp)
	movq	_HWSIM_ATTR_REG_HINT_ALPHA2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rcx,%rax,4), %edi
	testl	%edi, %edi
	je	LBB0_13
## %bb.12:
	callq	_nla_data
	movq	%rax, -48(%rbp)
	movq	(%r14), %rcx
LBB0_13:
	movq	_HWSIM_ATTR_REG_CUSTOM_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rcx,%rax,4), %edi
	testl	%edi, %edi
	je	LBB0_16
## %bb.14:
	callq	_nla_get_u32
	movq	%rax, %rbx
	movq	_hwsim_world_regdom_custom@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rbx, %rax
	jbe	LBB0_5
## %bb.15:
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_array_index_nospec
	movq	(%r12), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, -56(%rbp)
	movq	(%r14), %rcx
LBB0_16:
	movq	_HWSIM_ATTR_PERM_ADDR@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%rcx,%rax,4), %edi
	testl	%edi, %edi
	je	LBB0_20
## %bb.17:
	callq	_nla_data
	movq	%rax, %rdi
	callq	_is_valid_ether_addr
	testl	%eax, %eax
	je	LBB0_18
## %bb.19:
	movq	(%r14), %rax
	movq	(%rbx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_nla_data
	movq	%rax, -64(%rbp)
	movq	(%r14), %rcx
LBB0_20:
	movq	_HWSIM_ATTR_IFTYPE_SUPPORT@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	(%rcx,%rax,4), %edi
	testl	%edi, %edi
	je	LBB0_24
## %bb.21:
	callq	_nla_get_u32
	movq	%rax, %rbx
	movl	%ebx, -96(%rbp)
	movq	_HWSIM_IFTYPE_SUPPORT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	testl	%eax, %ebx
	je	LBB0_25
## %bb.22:
	movl	8(%r14), %edi
	movq	(%r14), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %esi
	leaq	L_.str.3(%rip), %rdx
	callq	_NL_SET_ERR_MSG_ATTR
	jmp	LBB0_5
LBB0_24:
	movq	_HWSIM_IFTYPE_SUPPORT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, -96(%rbp)
LBB0_25:
	testl	%r15d, %r15d
	jne	LBB0_27
## %bb.26:
	movq	_NL80211_IFTYPE_P2P_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_28
LBB0_27:
	movq	_NL80211_IFTYPE_P2P_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%eax, %ebx
	movl	%ebx, -96(%rbp)
	movl	$1, -116(%rbp)
LBB0_28:
	movq	(%r14), %rax
	movq	_HWSIM_ATTR_CIPHER_SUPPORT@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	testl	%edi, %edi
	je	LBB0_35
## %bb.29:
	callq	_nla_len
	movq	%rax, %rbx
	movq	(%r14), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_nla_data
	movq	%rax, -72(%rbp)
	testb	$7, %bl
	je	LBB0_31
## %bb.30:
	movl	8(%r14), %edi
	movq	(%r14), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %esi
	leaq	L_.str.4(%rip), %rdx
	callq	_NL_SET_ERR_MSG_ATTR
	jmp	LBB0_5
LBB0_18:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_GENL_SET_ERR_MSG
	movl	8(%r14), %edi
	movq	(%r14), %rax
	movq	(%rbx), %rcx
	movl	(%rax,%rcx,4), %esi
	callq	_NL_SET_BAD_ATTR
	jmp	LBB0_5
LBB0_31:
	movq	%rax, %r15
	shrq	$3, %rbx
	movq	%rbx, -88(%rbp)
	movq	_hwsim_ciphers@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %rbx
	jbe	LBB0_33
## %bb.32:
	movl	8(%r14), %edi
	movq	(%r14), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %esi
	leaq	L_.str.5(%rip), %rdx
	callq	_NL_SET_ERR_MSG_ATTR
	jmp	LBB0_5
LBB0_33:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_hwsim_known_ciphers
	testl	%eax, %eax
	je	LBB0_42
## %bb.34:
	movq	(%r14), %rax
LBB0_35:
	movq	_HWSIM_ATTR_RADIO_NAME@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movl	(%rax,%rcx,4), %edi
	testl	%edi, %edi
	je	LBB0_36
## %bb.37:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	callq	_nla_len
	movq	%rax, %r12
	movq	(%r14), %rax
	movq	(%rbx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_nla_data
	leaq	L_.str.7(%rip), %rsi
	movl	%r15d, %edi
	movq	%r12, %rdx
	movq	%rax, %rcx
	callq	_kasprintf
	testq	%rax, %rax
	je	LBB0_38
## %bb.39:
	movq	%rax, %r15
	movq	%rax, -80(%rbp)
	jmp	LBB0_40
LBB0_36:
	xorl	%r15d, %r15d
LBB0_40:
	leaq	-120(%rbp), %rsi
	movq	%r14, %rdi
	callq	_mac80211_hwsim_new_radio
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_kfree
	jmp	LBB0_41
LBB0_38:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_42:
	movl	8(%r14), %edi
	movq	(%r14), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %esi
	leaq	L_.str.6(%rip), %rdx
	callq	_NL_SET_ERR_MSG_ATTR
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_HWSIM_ATTR_REG_STRICT_REG,8,3  ## @HWSIM_ATTR_REG_STRICT_REG
	.comm	_HWSIM_ATTR_SUPPORT_P2P_DEVICE,8,3 ## @HWSIM_ATTR_SUPPORT_P2P_DEVICE
	.comm	_channels,4,2                   ## @channels
	.comm	_HWSIM_ATTR_DESTROY_RADIO_ON_CLOSE,8,3 ## @HWSIM_ATTR_DESTROY_RADIO_ON_CLOSE
	.comm	_HWSIM_ATTR_CHANNELS,8,3        ## @HWSIM_ATTR_CHANNELS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"must have at least one channel"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CFG80211_MAX_NUM_DIFFERENT_CHANNELS,4,2 ## @CFG80211_MAX_NUM_DIFFERENT_CHANNELS
L_.str.1:                               ## @.str.1
	.asciz	"too many channels specified"

	.comm	_HWSIM_ATTR_NO_VIF,8,3          ## @HWSIM_ATTR_NO_VIF
	.comm	_HWSIM_ATTR_USE_CHANCTX,8,3     ## @HWSIM_ATTR_USE_CHANCTX
	.comm	_HWSIM_ATTR_REG_HINT_ALPHA2,8,3 ## @HWSIM_ATTR_REG_HINT_ALPHA2
	.comm	_HWSIM_ATTR_REG_CUSTOM_REG,8,3  ## @HWSIM_ATTR_REG_CUSTOM_REG
	.comm	_hwsim_world_regdom_custom,8,3  ## @hwsim_world_regdom_custom
	.comm	_HWSIM_ATTR_PERM_ADDR,8,3       ## @HWSIM_ATTR_PERM_ADDR
L_.str.2:                               ## @.str.2
	.asciz	"MAC is no valid source addr"

	.comm	_HWSIM_ATTR_IFTYPE_SUPPORT,8,3  ## @HWSIM_ATTR_IFTYPE_SUPPORT
	.comm	_HWSIM_IFTYPE_SUPPORT_MASK,4,2  ## @HWSIM_IFTYPE_SUPPORT_MASK
L_.str.3:                               ## @.str.3
	.asciz	"cannot support more iftypes than kernel"

	.comm	_NL80211_IFTYPE_P2P_DEVICE,4,2  ## @NL80211_IFTYPE_P2P_DEVICE
	.comm	_HWSIM_ATTR_CIPHER_SUPPORT,8,3  ## @HWSIM_ATTR_CIPHER_SUPPORT
L_.str.4:                               ## @.str.4
	.asciz	"bad cipher list length"

	.comm	_hwsim_ciphers,8,3              ## @hwsim_ciphers
L_.str.5:                               ## @.str.5
	.asciz	"too many ciphers specified"

L_.str.6:                               ## @.str.6
	.asciz	"unsupported ciphers specified"

	.comm	_HWSIM_ATTR_RADIO_NAME,8,3      ## @HWSIM_ATTR_RADIO_NAME
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.7:                               ## @.str.7
	.asciz	"%.*s"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_hwsim_new_radio_nl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hwsim_new_radio_nl
_hwsim_new_radio_nl:                    ; @hwsim_new_radio_nl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x19, x1
	str	xzr, [sp, #88]
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #72]
	stur	q0, [sp, #56]
	stur	q0, [sp, #40]
	stur	q0, [sp, #24]
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _HWSIM_ATTR_REG_STRICT_REG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HWSIM_ATTR_REG_STRICT_REG@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	str	w9, [sp, #8]
Lloh3:
	adrp	x9, _HWSIM_ATTR_SUPPORT_P2P_DEVICE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HWSIM_ATTR_SUPPORT_P2P_DEVICE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w21, [x8, x9, lsl #2]
Lloh6:
	adrp	x9, _channels@GOTPAGE
Lloh7:
	ldr	x9, [x9, _channels@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x9]
	stp	w21, w0, [sp, #12]
Lloh9:
	adrp	x9, _HWSIM_ATTR_DESTROY_RADIO_ON_CLOSE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HWSIM_ATTR_DESTROY_RADIO_ON_CLOSE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	str	w9, [sp, #20]
Lloh12:
	adrp	x9, _HWSIM_ATTR_CHANNELS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _HWSIM_ATTR_CHANNELS@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x0, x8
	bl	_nla_get_u32
	str	w0, [sp, #16]
LBB0_2:
	cmp	w0, #0
	b.le	LBB0_5
; %bb.3:
Lloh15:
	adrp	x8, _CFG80211_MAX_NUM_DIFFERENT_CHANNELS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CFG80211_MAX_NUM_DIFFERENT_CHANNELS@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w0, w8
	b.le	LBB0_10
; %bb.4:
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
LBB0_6:
	mov	x0, x19
	bl	_GENL_SET_ERR_MSG
LBB0_7:
Lloh22:
	adrp	x8, _EINVAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_10:
	ldr	x8, [x19]
Lloh24:
	adrp	x9, _HWSIM_ATTR_NO_VIF@GOTPAGE
Lloh25:
	ldr	x9, [x9, _HWSIM_ATTR_NO_VIF@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_12
; %bb.11:
	mov	w9, #1
	str	w9, [sp, #24]
LBB0_12:
Lloh27:
	adrp	x9, _HWSIM_ATTR_USE_CHANCTX@GOTPAGE
Lloh28:
	ldr	x9, [x9, _HWSIM_ATTR_USE_CHANCTX@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cmp	w9, #0
	ccmp	w0, #1, #2, eq
	cset	w9, hi
	str	w9, [sp, #28]
Lloh30:
	adrp	x9, _HWSIM_ATTR_REG_HINT_ALPHA2@GOTPAGE
Lloh31:
	ldr	x9, [x9, _HWSIM_ATTR_REG_HINT_ALPHA2@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	cbz	w0, LBB0_14
; %bb.13:
	bl	_nla_data
	str	x0, [sp, #80]
	ldr	x8, [x19]
LBB0_14:
Lloh33:
	adrp	x9, _HWSIM_ATTR_REG_CUSTOM_REG@GOTPAGE
Lloh34:
	ldr	x9, [x9, _HWSIM_ATTR_REG_CUSTOM_REG@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	cbz	w0, LBB0_17
; %bb.15:
	bl	_nla_get_u32
	mov	x20, x0
Lloh36:
	adrp	x22, _hwsim_world_regdom_custom@GOTPAGE
Lloh37:
	ldr	x22, [x22, _hwsim_world_regdom_custom@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	x0, x20
	b.ls	LBB0_7
; %bb.16:
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	mov	x1, x0
	mov	x0, x20
	bl	_array_index_nospec
	ldr	x8, [x22]
	ldr	w8, [x8, x0, lsl #2]
	str	w8, [sp, #72]
	ldr	x8, [x19]
LBB0_17:
Lloh38:
	adrp	x20, _HWSIM_ATTR_PERM_ADDR@GOTPAGE
Lloh39:
	ldr	x20, [x20, _HWSIM_ATTR_PERM_ADDR@GOTPAGEOFF]
	ldr	x9, [x20]
	ldr	w0, [x8, x9, lsl #2]
	cbz	w0, LBB0_20
; %bb.18:
	bl	_nla_data
	bl	_is_valid_ether_addr
	cbz	w0, LBB0_30
; %bb.19:
	ldr	x8, [x19]
	ldr	x9, [x20]
	ldr	w0, [x8, x9, lsl #2]
	bl	_nla_data
	str	x0, [sp, #64]
	ldr	x8, [x19]
LBB0_20:
Lloh40:
	adrp	x22, _HWSIM_ATTR_IFTYPE_SUPPORT@GOTPAGE
Lloh41:
	ldr	x22, [x22, _HWSIM_ATTR_IFTYPE_SUPPORT@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	w0, [x8, x9, lsl #2]
	cbz	w0, LBB0_23
; %bb.21:
	bl	_nla_get_u32
	mov	x20, x0
	str	w20, [sp, #32]
Lloh42:
	adrp	x8, _HWSIM_IFTYPE_SUPPORT_MASK@GOTPAGE
Lloh43:
	ldr	x8, [x8, _HWSIM_IFTYPE_SUPPORT_MASK@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	bics	wzr, w20, w8
	b.eq	LBB0_24
; %bb.22:
	ldr	w0, [x19, #8]
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldr	w1, [x8, x9, lsl #2]
Lloh45:
	adrp	x2, l_.str.3@PAGE
Lloh46:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_NL_SET_ERR_MSG_ATTR
	b	LBB0_7
LBB0_23:
Lloh47:
	adrp	x8, _HWSIM_IFTYPE_SUPPORT_MASK@GOTPAGE
Lloh48:
	ldr	x8, [x8, _HWSIM_IFTYPE_SUPPORT_MASK@GOTPAGEOFF]
Lloh49:
	ldr	w20, [x8]
	str	w20, [sp, #32]
LBB0_24:
Lloh50:
	adrp	x22, _NL80211_IFTYPE_P2P_DEVICE@GOTPAGE
Lloh51:
	ldr	x22, [x22, _NL80211_IFTYPE_P2P_DEVICE@GOTPAGEOFF]
	cbnz	w21, LBB0_26
; %bb.25:
	ldr	w0, [x22]
	bl	_BIT
	tst	w0, w20
	b.eq	LBB0_27
LBB0_26:
	ldr	w0, [x22]
	bl	_BIT
	orr	w8, w20, w0
	mov	w9, #1
	str	w8, [sp, #32]
	str	w9, [sp, #12]
LBB0_27:
	ldr	x8, [x19]
Lloh52:
	adrp	x22, _HWSIM_ATTR_CIPHER_SUPPORT@GOTPAGE
Lloh53:
	ldr	x22, [x22, _HWSIM_ATTR_CIPHER_SUPPORT@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	w0, [x8, x9, lsl #2]
	cbz	w0, LBB0_35
; %bb.28:
	bl	_nla_len
	mov	x21, x0
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldr	w0, [x8, x9, lsl #2]
	bl	_nla_data
	str	x0, [sp, #56]
	tst	x21, #0x7
	b.eq	LBB0_31
; %bb.29:
	ldr	w0, [x19, #8]
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldr	w1, [x8, x9, lsl #2]
Lloh54:
	adrp	x2, l_.str.4@PAGE
Lloh55:
	add	x2, x2, l_.str.4@PAGEOFF
	bl	_NL_SET_ERR_MSG_ATTR
	b	LBB0_7
LBB0_30:
Lloh56:
	adrp	x1, l_.str.2@PAGE
Lloh57:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_GENL_SET_ERR_MSG
	ldr	w0, [x19, #8]
	ldr	x8, [x19]
	ldr	x9, [x20]
	ldr	w1, [x8, x9, lsl #2]
	bl	_NL_SET_BAD_ATTR
	b	LBB0_7
LBB0_31:
	mov	x20, x0
	lsr	x21, x21, #3
	str	x21, [sp, #40]
Lloh58:
	adrp	x8, _hwsim_ciphers@GOTPAGE
Lloh59:
	ldr	x8, [x8, _hwsim_ciphers@GOTPAGEOFF]
Lloh60:
	ldr	x0, [x8]
	bl	_ARRAY_SIZE
	cmp	x21, x0
	b.ls	LBB0_33
; %bb.32:
	ldr	w0, [x19, #8]
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldr	w1, [x8, x9, lsl #2]
Lloh61:
	adrp	x2, l_.str.5@PAGE
Lloh62:
	add	x2, x2, l_.str.5@PAGEOFF
	bl	_NL_SET_ERR_MSG_ATTR
	b	LBB0_7
LBB0_33:
	mov	x0, x20
	mov	x1, x21
	bl	_hwsim_known_ciphers
	cbz	w0, LBB0_41
; %bb.34:
	ldr	x8, [x19]
LBB0_35:
Lloh63:
	adrp	x22, _HWSIM_ATTR_RADIO_NAME@GOTPAGE
Lloh64:
	ldr	x22, [x22, _HWSIM_ATTR_RADIO_NAME@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	w0, [x8, x9, lsl #2]
	cbz	w0, LBB0_38
; %bb.36:
Lloh65:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh66:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh67:
	ldr	w20, [x8]
	bl	_nla_len
	mov	x21, x0
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldr	w0, [x8, x9, lsl #2]
	bl	_nla_data
	mov	x3, x0
Lloh68:
	adrp	x1, l_.str.7@PAGE
Lloh69:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_kasprintf
	cbz	x0, LBB0_40
; %bb.37:
	mov	x20, x0
	str	x0, [sp, #48]
	b	LBB0_39
LBB0_38:
	mov	x20, #0
LBB0_39:
	add	x1, sp, #8
	mov	x0, x19
	bl	_mac80211_hwsim_new_radio
	mov	x19, x0
	mov	x0, x20
	bl	_kfree
	b	LBB0_9
LBB0_40:
Lloh70:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh71:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_8
LBB0_41:
	ldr	w0, [x19, #8]
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldr	w1, [x8, x9, lsl #2]
Lloh72:
	adrp	x2, l_.str.6@PAGE
Lloh73:
	add	x2, x2, l_.str.6@PAGEOFF
	bl	_NL_SET_ERR_MSG_ATTR
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.cfi_endproc
                                        ; -- End function
	.comm	_HWSIM_ATTR_REG_STRICT_REG,8,3  ; @HWSIM_ATTR_REG_STRICT_REG
	.comm	_HWSIM_ATTR_SUPPORT_P2P_DEVICE,8,3 ; @HWSIM_ATTR_SUPPORT_P2P_DEVICE
	.comm	_channels,4,2                   ; @channels
	.comm	_HWSIM_ATTR_DESTROY_RADIO_ON_CLOSE,8,3 ; @HWSIM_ATTR_DESTROY_RADIO_ON_CLOSE
	.comm	_HWSIM_ATTR_CHANNELS,8,3        ; @HWSIM_ATTR_CHANNELS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"must have at least one channel"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CFG80211_MAX_NUM_DIFFERENT_CHANNELS,4,2 ; @CFG80211_MAX_NUM_DIFFERENT_CHANNELS
l_.str.1:                               ; @.str.1
	.asciz	"too many channels specified"

	.comm	_HWSIM_ATTR_NO_VIF,8,3          ; @HWSIM_ATTR_NO_VIF
	.comm	_HWSIM_ATTR_USE_CHANCTX,8,3     ; @HWSIM_ATTR_USE_CHANCTX
	.comm	_HWSIM_ATTR_REG_HINT_ALPHA2,8,3 ; @HWSIM_ATTR_REG_HINT_ALPHA2
	.comm	_HWSIM_ATTR_REG_CUSTOM_REG,8,3  ; @HWSIM_ATTR_REG_CUSTOM_REG
	.comm	_hwsim_world_regdom_custom,8,3  ; @hwsim_world_regdom_custom
	.comm	_HWSIM_ATTR_PERM_ADDR,8,3       ; @HWSIM_ATTR_PERM_ADDR
l_.str.2:                               ; @.str.2
	.asciz	"MAC is no valid source addr"

	.comm	_HWSIM_ATTR_IFTYPE_SUPPORT,8,3  ; @HWSIM_ATTR_IFTYPE_SUPPORT
	.comm	_HWSIM_IFTYPE_SUPPORT_MASK,4,2  ; @HWSIM_IFTYPE_SUPPORT_MASK
l_.str.3:                               ; @.str.3
	.asciz	"cannot support more iftypes than kernel"

	.comm	_NL80211_IFTYPE_P2P_DEVICE,4,2  ; @NL80211_IFTYPE_P2P_DEVICE
	.comm	_HWSIM_ATTR_CIPHER_SUPPORT,8,3  ; @HWSIM_ATTR_CIPHER_SUPPORT
l_.str.4:                               ; @.str.4
	.asciz	"bad cipher list length"

	.comm	_hwsim_ciphers,8,3              ; @hwsim_ciphers
l_.str.5:                               ; @.str.5
	.asciz	"too many ciphers specified"

l_.str.6:                               ; @.str.6
	.asciz	"unsupported ciphers specified"

	.comm	_HWSIM_ATTR_RADIO_NAME,8,3      ; @HWSIM_ATTR_RADIO_NAME
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.7:                               ; @.str.7
	.asciz	"%.*s"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_hwsim_new_radio_nl
.subsections_via_symbols
