	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_regulatory_hint_user           ## -- Begin function regulatory_hint_user
	.p2align	4, 0x90
_regulatory_hint_user:                  ## @regulatory_hint_user
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	_WIPHY_IDX_INVALID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movb	(%rbx), %cl
	movq	(%rax), %rdx
	movb	%cl, (%rdx)
	movb	1(%rbx), %cl
	movq	(%rax), %rdx
	movb	%cl, 1(%rdx)
	movq	_NL80211_REGDOM_SET_BY_USER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movl	%r14d, 8(%rax)
	movq	%rax, %rdi
	callq	_queue_regulatory_request
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_WIPHY_IDX_INVALID,4,2          ## @WIPHY_IDX_INVALID
	.comm	_NL80211_REGDOM_SET_BY_USER,4,2 ## @NL80211_REGDOM_SET_BY_USER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_regulatory_hint_user           ; -- Begin function regulatory_hint_user
	.p2align	2
_regulatory_hint_user:                  ; @regulatory_hint_user
	.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
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_3:
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_6
; %bb.4:
Lloh5:
	adrp	x8, _WIPHY_IDX_INVALID@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WIPHY_IDX_INVALID@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x0, #16]
	ldrb	w8, [x20]
	ldr	x9, [x0]
	strb	w8, [x9]
	ldrb	w8, [x20, #1]
	ldr	x9, [x0]
	strb	w8, [x9, #1]
Lloh8:
	adrp	x8, _NL80211_REGDOM_SET_BY_USER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NL80211_REGDOM_SET_BY_USER@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	stp	w19, w8, [x0, #8]
	bl	_queue_regulatory_request
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_WIPHY_IDX_INVALID,4,2          ; @WIPHY_IDX_INVALID
	.comm	_NL80211_REGDOM_SET_BY_USER,4,2 ; @NL80211_REGDOM_SET_BY_USER
.subsections_via_symbols
