	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function defaultcountry
_defaultcountry:                        ## @defaultcountry
	.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	%rdi, %r14
	xorl	%eax, %eax
	callq	_getregdata
	movq	8(%r14), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_lib80211_country_findbycc
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	8(%r14), %rax
	movl	(%rax), %edx
	movl	(%r14), %ecx
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_2:
	movl	8(%rbx), %eax
	movq	_regdomain@GOTPCREL(%rip), %rcx
	movl	%eax, 8(%rcx)
	movq	(%rbx), %rax
	movl	(%rax), %edx
	movq	(%rcx), %rcx
	movl	%edx, (%rcx)
	movl	4(%rax), %eax
	movl	%eax, 4(%rcx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"internal error, ISO country code %d not defined for regdomain %s"

	.comm	_regdomain,16,3                 ## @regdomain
	.no_dead_strip	_defaultcountry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function defaultcountry
_defaultcountry:                        ; @defaultcountry
	.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	x20, x0
	bl	_getregdata
	ldr	x8, [x20, #8]
	ldr	w1, [x8]
	bl	_lib80211_country_findbycc
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20, #8]
	ldr	w2, [x8]
	ldr	w3, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_2:
	ldr	w8, [x19, #8]
Lloh2:
	adrp	x9, _regdomain@GOTPAGE
Lloh3:
	ldr	x9, [x9, _regdomain@GOTPAGEOFF]
	str	w8, [x9, #8]
	ldr	x8, [x19]
	ldr	w10, [x8]
	ldr	x9, [x9]
	str	w10, [x9]
	ldr	w8, [x8, #4]
	str	w8, [x9, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"internal error, ISO country code %d not defined for regdomain %s"

	.comm	_regdomain,16,3                 ; @regdomain
	.no_dead_strip	_defaultcountry
.subsections_via_symbols
