	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_regulatory_hint_11d            ## -- Begin function regulatory_hint_11d
	.p2align	4, 0x90
_regulatory_hint_11d:                   ## @regulatory_hint_11d
	.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
	movl	%ecx, %ebx
	movq	%rdx, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_ENVIRON_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_reg_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	xorl	%eax, %eax
	callq	_get_last_request
	movq	%rax, %r12
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testb	$1, %bl
	jne	LBB0_12
## %bb.1:
	testq	%rax, %rax
	jne	LBB0_12
## %bb.2:
	movq	_IEEE80211_COUNTRY_IE_MIN_LEN@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jg	LBB0_12
## %bb.3:
	movl	8(%r15), %eax
	cmpl	$79, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$73, %eax
	jne	LBB0_8
## %bb.5:
	movq	_ENVIRON_INDOOR@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_ENVIRON_OUTDOOR@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %r13d
LBB0_8:
	movb	(%r15), %r14b
	movb	4(%r15), %r15b
	movq	(%r12), %rax
	movq	_NL80211_REGDOM_SET_BY_COUNTRY_IE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:
	movq	8(%r12), %rax
	movq	_WIPHY_IDX_INVALID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
LBB0_10:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	%rax, %rbx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_wiphy_idx
	movq	%rax, 8(%rbx)
	movq	16(%rbx), %rax
	movb	%r14b, (%rax)
	movq	16(%rbx), %rax
	movb	%r15b, 1(%rax)
	movq	_NL80211_REGDOM_SET_BY_COUNTRY_IE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movl	%r13d, 24(%rbx)
	movq	%rbx, %rdi
	callq	_queue_regulatory_request
LBB0_12:
	movq	_reg_mutex@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENVIRON_ANY,4,2                ## @ENVIRON_ANY
	.comm	_reg_mutex,4,2                  ## @reg_mutex
	.comm	_IEEE80211_COUNTRY_IE_MIN_LEN,4,2 ## @IEEE80211_COUNTRY_IE_MIN_LEN
	.comm	_ENVIRON_INDOOR,4,2             ## @ENVIRON_INDOOR
	.comm	_ENVIRON_OUTDOOR,4,2            ## @ENVIRON_OUTDOOR
	.comm	_NL80211_REGDOM_SET_BY_COUNTRY_IE,8,3 ## @NL80211_REGDOM_SET_BY_COUNTRY_IE
	.comm	_WIPHY_IDX_INVALID,8,3          ## @WIPHY_IDX_INVALID
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_regulatory_hint_11d            ; -- Begin function regulatory_hint_11d
	.p2align	2
_regulatory_hint_11d:                   ; @regulatory_hint_11d
	.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
	mov	x22, x3
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x8, _ENVIRON_ANY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENVIRON_ANY@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
Lloh3:
	adrp	x0, _reg_mutex@GOTPAGE
Lloh4:
	ldr	x0, [x0, _reg_mutex@GOTPAGEOFF]
	bl	_mutex_lock
	bl	_get_last_request
	mov	x21, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	tbnz	w22, #0, LBB0_12
; %bb.1:
	cbnz	x0, LBB0_12
; %bb.2:
Lloh5:
	adrp	x8, _IEEE80211_COUNTRY_IE_MIN_LEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IEEE80211_COUNTRY_IE_MIN_LEN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w22
	b.gt	LBB0_12
; %bb.3:
	ldr	w8, [x20, #8]
	cmp	w8, #79
	b.eq	LBB0_6
; %bb.4:
	cmp	w8, #73
	b.ne	LBB0_8
; %bb.5:
Lloh8:
	adrp	x8, _ENVIRON_INDOOR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENVIRON_INDOOR@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh10:
	adrp	x8, _ENVIRON_OUTDOOR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENVIRON_OUTDOOR@GOTPAGEOFF]
LBB0_7:
	ldr	w23, [x8]
LBB0_8:
	ldp	w24, w22, [x20]
	ldr	x8, [x21]
Lloh12:
	adrp	x25, _NL80211_REGDOM_SET_BY_COUNTRY_IE@GOTPAGE
Lloh13:
	ldr	x25, [x25, _NL80211_REGDOM_SET_BY_COUNTRY_IE@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.9:
	ldr	x8, [x21, #8]
Lloh14:
	adrp	x9, _WIPHY_IDX_INVALID@GOTPAGE
Lloh15:
	ldr	x9, [x9, _WIPHY_IDX_INVALID@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
LBB0_10:
Lloh17:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_12
; %bb.11:
	mov	x20, x0
	mov	x0, x19
	bl	_get_wiphy_idx
	str	x0, [x20, #8]
	ldr	x8, [x20, #16]
	strb	w24, [x8]
	ldr	x8, [x20, #16]
	strb	w22, [x8, #1]
	ldr	x8, [x25]
	str	x8, [x20]
	str	w23, [x20, #24]
	mov	x0, x20
	bl	_queue_regulatory_request
LBB0_12:
Lloh20:
	adrp	x0, _reg_mutex@GOTPAGE
Lloh21:
	ldr	x0, [x0, _reg_mutex@GOTPAGEOFF]
	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
	b	_mutex_unlock
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_ENVIRON_ANY,4,2                ; @ENVIRON_ANY
	.comm	_reg_mutex,4,2                  ; @reg_mutex
	.comm	_IEEE80211_COUNTRY_IE_MIN_LEN,4,2 ; @IEEE80211_COUNTRY_IE_MIN_LEN
	.comm	_ENVIRON_INDOOR,4,2             ; @ENVIRON_INDOOR
	.comm	_ENVIRON_OUTDOOR,4,2            ; @ENVIRON_OUTDOOR
	.comm	_NL80211_REGDOM_SET_BY_COUNTRY_IE,8,3 ; @NL80211_REGDOM_SET_BY_COUNTRY_IE
	.comm	_WIPHY_IDX_INVALID,8,3          ; @WIPHY_IDX_INVALID
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
.subsections_via_symbols
