	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_req_set_reg
_nl80211_req_set_reg:                   ## @nl80211_req_set_reg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	_cfg80211_regdomain@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rcu_access_pointer
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_EINPROGRESS@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_3:
	movq	(%rbx), %rax
	movq	_NL80211_ATTR_REG_ALPHA2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.5:
	callq	_nla_data
	movq	%rax, %r14
	movq	(%rbx), %rax
	movq	_NL80211_ATTR_USER_REG_HINT_TYPE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.7:
	callq	_nla_get_u32
	movl	%eax, %esi
	andl	$-2, %eax
	cmpl	$128, %eax
	je	LBB0_8
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movl	$128, %esi
LBB0_8:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_regulatory_hint_user           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cfg80211_regdomain,4,2         ## @cfg80211_regdomain
	.comm	_EINPROGRESS,4,2                ## @EINPROGRESS
	.comm	_NL80211_ATTR_REG_ALPHA2,8,3    ## @NL80211_ATTR_REG_ALPHA2
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NL80211_ATTR_USER_REG_HINT_TYPE,8,3 ## @NL80211_ATTR_USER_REG_HINT_TYPE
	.no_dead_strip	_nl80211_req_set_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_req_set_reg
_nl80211_req_set_reg:                   ; @nl80211_req_set_reg
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, _cfg80211_regdomain@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cfg80211_regdomain@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_rcu_access_pointer
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EINPROGRESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINPROGRESS@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _NL80211_ATTR_REG_ALPHA2@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NL80211_ATTR_REG_ALPHA2@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_5
; %bb.3:
	bl	_nla_data
	mov	x20, x0
	ldr	x8, [x19]
Lloh8:
	adrp	x9, _NL80211_ATTR_USER_REG_HINT_TYPE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _NL80211_ATTR_USER_REG_HINT_TYPE@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_7
; %bb.4:
	bl	_nla_get_u32
	mov	x1, x0
	and	w8, w0, #0xfffffffe
	cmp	w8, #128
	b.eq	LBB0_8
LBB0_5:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	w1, #128
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_regulatory_hint_user
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_cfg80211_regdomain,4,2         ; @cfg80211_regdomain
	.comm	_EINPROGRESS,4,2                ; @EINPROGRESS
	.comm	_NL80211_ATTR_REG_ALPHA2,8,3    ; @NL80211_ATTR_REG_ALPHA2
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NL80211_ATTR_USER_REG_HINT_TYPE,8,3 ; @NL80211_ATTR_USER_REG_HINT_TYPE
	.no_dead_strip	_nl80211_req_set_reg
.subsections_via_symbols
