	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getregdata
_getregdata:                            ## @getregdata
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_getregdata.rdp(%rip), %rax
	testq	%rax, %rax
	je	LBB0_1
LBB0_3:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	callq	_lib80211_alloc_regdata
	movq	%rax, _getregdata.rdp(%rip)
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movl	$-1, %edi
	callq	_errx
	movq	_getregdata.rdp(%rip), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_getregdata.rdp,8,3 ## @getregdata.rdp
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"missing or corrupted regdomain database"

	.no_dead_strip	_getregdata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getregdata
_getregdata:                            ; @getregdata
	.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
	adrp	x19, _getregdata.rdp@PAGE
	ldr	x0, [x19, _getregdata.rdp@PAGEOFF]
	cbnz	x0, LBB0_3
; %bb.1:
	bl	_lib80211_alloc_regdata
	str	x0, [x19, _getregdata.rdp@PAGEOFF]
	cbnz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #-1
	bl	_errx
	ldr	x0, [x19, _getregdata.rdp@PAGEOFF]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_getregdata.rdp,8,3 ; @getregdata.rdp
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"missing or corrupted regdomain database"

	.no_dead_strip	_getregdata
.subsections_via_symbols
