	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __regulatory_hint
___regulatory_hint:                     ## @__regulatory_hint
	.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	%rsi, %r14
	movq	%rdi, %r15
	callq	_get_reg_request_treatment
	movl	%eax, %ebx
	cmpl	$128, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$129, %ebx
	jne	LBB0_8
## %bb.3:
	movq	(%r14), %rax
	movq	_NL80211_REGDOM_SET_BY_DRIVER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.5:
	xorl	%eax, %eax
	callq	_get_cfg80211_regdom
	movl	%eax, %edi
	callq	_reg_copy_regd
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	%r14, %rdi
	callq	_kfree
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	xorl	%r13d, %r13d
	jmp	LBB0_15
LBB0_8:
	movq	_REG_REQ_ALREADY_SET@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ebx
	jne	LBB0_12
## %bb.9:
	movq	(%r14), %rax
	movq	_NL80211_REGDOM_SET_BY_DRIVER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.10:
	movq	%rdx, %rbx
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_get_cfg80211_regdom
	movl	%eax, %edi
	callq	_reg_copy_regd
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	je	LBB0_13
## %bb.11:
	movq	%r14, %rdi
	callq	_kfree
	jmp	LBB0_24
LBB0_12:
	movq	%r14, %rdi
	callq	_kfree
	jmp	LBB0_25
LBB0_4:
	movl	$129, %ebx
	movl	$1, %r13d
	jmp	LBB0_15
LBB0_6:
	movl	$129, %ebx
	movl	$1, %r13d
	jmp	LBB0_14
LBB0_13:
	movl	(%rbx), %ebx
LBB0_14:
	movl	(%r15), %edi
	movq	%r12, %rsi
	callq	_rcu_assign_pointer
LBB0_15:
	xorl	%eax, %eax
	callq	_get_last_request
	cmpq	_core_request_world@GOTPCREL(%rip), %rax
	je	LBB0_18
## %bb.16:
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	_rcu_head@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_kfree_rcu
LBB0_18:
	movl	%r13d, 8(%r14)
	movl	$0, 12(%r14)
	movq	_last_request@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_rcu_assign_pointer
	movq	(%r14), %rax
	movq	_NL80211_REGDOM_SET_BY_USER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.19:
	movq	16(%r14), %rax
	movl	(%rax), %ecx
	movq	_user_alpha2@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%ecx, (%rdx)
	movl	4(%rax), %eax
	movl	%eax, 4(%rdx)
LBB0_20:
	movl	%ebx, %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_21
## %bb.23:
	movq	16(%r14), %rdi
	callq	_call_crda
	movl	$128, %ebx
	testq	%rax, %rax
	je	LBB0_25
LBB0_24:
	movq	_REG_REQ_IGNORE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_25
LBB0_21:
	movq	_REG_REQ_ALREADY_SET@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_25
## %bb.22:
	movq	%r14, %rdi
	callq	_nl80211_send_reg_change_event
	xorl	%eax, %eax
	callq	_reg_set_request_processed
LBB0_25:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_REGDOM_SET_BY_DRIVER,8,3 ## @NL80211_REGDOM_SET_BY_DRIVER
	.comm	_REG_REQ_ALREADY_SET,4,2        ## @REG_REQ_ALREADY_SET
	.comm	_REG_REQ_IGNORE,4,2             ## @REG_REQ_IGNORE
	.comm	_core_request_world,24,3        ## @core_request_world
	.comm	_rcu_head,4,2                   ## @rcu_head
	.comm	_last_request,4,2               ## @last_request
	.comm	_NL80211_REGDOM_SET_BY_USER,8,3 ## @NL80211_REGDOM_SET_BY_USER
	.comm	_user_alpha2,8,3                ## @user_alpha2
	.no_dead_strip	___regulatory_hint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __regulatory_hint
___regulatory_hint:                     ; @__regulatory_hint
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x21, x0
	bl	_get_reg_request_treatment
	mov	x20, x0
	cmp	w0, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w20, #129
	b.ne	LBB0_6
; %bb.2:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _NL80211_REGDOM_SET_BY_DRIVER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_REGDOM_SET_BY_DRIVER@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.3:
	bl	_get_cfg80211_regdom
	bl	_reg_copy_regd
	mov	x22, x0
	bl	_IS_ERR
	cbz	w0, LBB0_12
; %bb.4:
	mov	x0, x19
	bl	_kfree
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_5:
	mov	w23, #0
	b	LBB0_15
LBB0_6:
Lloh3:
	adrp	x24, _REG_REQ_ALREADY_SET@GOTPAGE
Lloh4:
	ldr	x24, [x24, _REG_REQ_ALREADY_SET@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w20, w8
	b.ne	LBB0_10
; %bb.7:
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _NL80211_REGDOM_SET_BY_DRIVER@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NL80211_REGDOM_SET_BY_DRIVER@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.8:
	bl	_get_cfg80211_regdom
	bl	_reg_copy_regd
	mov	x22, x0
	bl	_IS_ERR
	cbz	w0, LBB0_13
; %bb.9:
	mov	x0, x19
	bl	_kfree
Lloh8:
	adrp	x8, _REG_REQ_IGNORE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _REG_REQ_IGNORE@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
	b	LBB0_23
LBB0_10:
	mov	x0, x19
	bl	_kfree
	b	LBB0_23
LBB0_11:
	mov	w20, #129
	mov	w23, #1
	b	LBB0_15
LBB0_12:
	mov	w20, #129
	mov	w23, #1
	b	LBB0_14
LBB0_13:
	mov	w23, #0
	ldr	w20, [x24]
LBB0_14:
	ldr	w0, [x21]
	mov	x1, x22
	bl	_rcu_assign_pointer
LBB0_15:
	bl	_get_last_request
Lloh11:
	adrp	x8, _core_request_world@GOTPAGE
Lloh12:
	ldr	x8, [x8, _core_request_world@GOTPAGEOFF]
	cmp	x0, x8
	ccmp	x0, #0, #4, ne
	b.eq	LBB0_17
; %bb.16:
Lloh13:
	adrp	x8, _rcu_head@GOTPAGE
Lloh14:
	ldr	x8, [x8, _rcu_head@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_kfree_rcu
LBB0_17:
	stp	w23, wzr, [x19, #8]
Lloh16:
	adrp	x8, _last_request@GOTPAGE
Lloh17:
	ldr	x8, [x8, _last_request@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_rcu_assign_pointer
	ldr	x8, [x19]
Lloh19:
	adrp	x9, _NL80211_REGDOM_SET_BY_USER@GOTPAGE
Lloh20:
	ldr	x9, [x9, _NL80211_REGDOM_SET_BY_USER@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.18:
	ldr	x8, [x19, #16]
	ldr	w9, [x8]
Lloh22:
	adrp	x10, _user_alpha2@GOTPAGE
Lloh23:
	ldr	x10, [x10, _user_alpha2@GOTPAGEOFF]
Lloh24:
	ldr	x10, [x10]
	str	w9, [x10]
	ldr	w8, [x8, #4]
	str	w8, [x10, #4]
LBB0_19:
	and	w8, w20, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_21
; %bb.20:
	ldr	x0, [x19, #16]
	bl	_call_crda
Lloh25:
	adrp	x8, _REG_REQ_IGNORE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _REG_REQ_IGNORE@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	cmp	x0, #0
	mov	w9, #128
	csel	w20, w9, w8, eq
	b	LBB0_23
LBB0_21:
Lloh28:
	adrp	x8, _REG_REQ_ALREADY_SET@GOTPAGE
Lloh29:
	ldr	x8, [x8, _REG_REQ_ALREADY_SET@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_23
; %bb.22:
	mov	x0, x19
	bl	_nl80211_send_reg_change_event
	bl	_reg_set_request_processed
LBB0_23:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_REGDOM_SET_BY_DRIVER,8,3 ; @NL80211_REGDOM_SET_BY_DRIVER
	.comm	_REG_REQ_ALREADY_SET,4,2        ; @REG_REQ_ALREADY_SET
	.comm	_REG_REQ_IGNORE,4,2             ; @REG_REQ_IGNORE
	.comm	_core_request_world,24,3        ; @core_request_world
	.comm	_rcu_head,4,2                   ; @rcu_head
	.comm	_last_request,4,2               ; @last_request
	.comm	_NL80211_REGDOM_SET_BY_USER,8,3 ; @NL80211_REGDOM_SET_BY_USER
	.comm	_user_alpha2,8,3                ; @user_alpha2
	.no_dead_strip	___regulatory_hint
.subsections_via_symbols
