	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipw_set_geo
_ipw_set_geo:                           ## @ipw_set_geo
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_ipw_geos@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jle	LBB0_4
## %bb.1:
	movq	_EEPROM_COUNTRY_CODE@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	shlq	$2, %rdi
	addq	8(%r15), %rdi
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %esi
	movl	$3, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_4:
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %ebx
	jne	LBB0_6
## %bb.5:
	movq	8(%r15), %rax
	movq	_EEPROM_COUNTRY_CODE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	4(%rax,%rcx,4), %edx
	movl	8(%rax,%rcx,4), %ecx
	leaq	L_.str(%rip), %rdi
	callq	_IPW_WARNING
	xorl	%ebx, %ebx
LBB0_6:
	movl	(%r15), %edi
	movl	%ebx, %esi
	shlq	$2, %rsi
	addq	(%r14), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_libipw_set_geo                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ipw_geos,8,3                   ## @ipw_geos
	.comm	_EEPROM_COUNTRY_CODE,8,3        ## @EEPROM_COUNTRY_CODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SKU [%c%c%c] not recognized.\n"

	.no_dead_strip	_ipw_set_geo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipw_set_geo
_ipw_set_geo:                           ; @ipw_set_geo
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _ipw_geos@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ipw_geos@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
Lloh2:
	adrp	x21, _EEPROM_COUNTRY_CODE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _EEPROM_COUNTRY_CODE@GOTPAGEOFF]
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x0, x8, x9, lsl #2
	ldr	x8, [x20]
	ldr	w1, [x8, x22, lsl #2]
	mov	w2, #3
	bl	_memcmp
	cbz	w0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	x22, w0, sxtw
	b.lt	LBB0_2
	b	LBB0_5
LBB0_4:
	mov	w22, #0
LBB0_5:
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	w22, w0
	b.ne	LBB0_7
; %bb.6:
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x8, x8, x9, lsl #2
	ldp	w1, w2, [x8]
	ldr	w3, [x8, #8]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_IPW_WARNING
	mov	w22, #0
LBB0_7:
	ldr	w0, [x19]
	ldr	x8, [x20]
	add	x1, x8, w22, uxtw #2
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_libipw_set_geo
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ipw_geos,8,3                   ; @ipw_geos
	.comm	_EEPROM_COUNTRY_CODE,8,3        ; @EEPROM_COUNTRY_CODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SKU [%c%c%c] not recognized.\n"

	.no_dead_strip	_ipw_set_geo
.subsections_via_symbols
