	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlan_config_get_country
_wlan_config_get_country:               ## @wlan_config_get_country
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$0, -28(%rbp)
	leaq	-64(%rbp), %r15
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	$24, -40(%rbp)
	movl	12(%rbx), %edi
	movq	_IEEE80211_IOC_REGDOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	leaq	-40(%rbp), %r8
	movq	%r15, %rcx
	xorl	%r9d, %r9d
	callq	_wlan_ioctl
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movl	-48(%rbp), %edi
	callq	_wlan_regdomain_to_snmp
	movl	%eax, 8(%rbx)
	movq	-56(%rbp), %rax
	movl	(%rax), %ecx
	movq	(%rbx), %rdx
	movl	%ecx, (%rdx)
	movl	4(%rax), %eax
	movl	%eax, 4(%rdx)
	movl	-64(%rbp), %eax
	movl	%eax, 8(%rdx)
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_IOC_REGDOMAIN,4,2    ## @IEEE80211_IOC_REGDOMAIN
	.no_dead_strip	_wlan_config_get_country
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlan_config_get_country
_wlan_config_get_country:               ; @wlan_config_get_country
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	stur	wzr, [x29, #-20]
	mov	w20, #24
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	str	x20, [sp, #32]
	ldr	w0, [x19, #12]
Lloh0:
	adrp	x8, _IEEE80211_IOC_REGDOMAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_IOC_REGDOMAIN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	sub	x2, x29, #20
	add	x3, sp, #8
	add	x4, sp, #32
	mov	w5, #0
	bl	_wlan_ioctl
	tbnz	x0, #63, LBB0_2
; %bb.1:
	ldr	w0, [sp, #24]
	bl	_wlan_regdomain_to_snmp
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19, #8]
	ldr	x8, [sp, #16]
	ldr	w9, [x8]
	ldr	x10, [x19]
	str	w9, [x10]
	ldr	w8, [x8, #4]
	ldr	w9, [sp, #8]
	stp	w8, w9, [x10, #4]
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_IOC_REGDOMAIN,4,2    ; @IEEE80211_IOC_REGDOMAIN
	.no_dead_strip	_wlan_config_get_country
.subsections_via_symbols
