	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_get_hi_item_addr
_ath6kl_get_hi_item_addr:               ## @ath6kl_get_hi_item_addr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rax
	movq	(%rdi), %rcx
	movq	_TARGET_TYPE_AR6003@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movq	_ATH6KL_AR6003_HI_START_ADDR@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_2:
	movq	_TARGET_TYPE_AR6004@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.4:
	movq	_ATH6KL_AR6004_HI_START_ADDR@GOTPCREL(%rip), %rcx
LBB0_5:
	addq	(%rcx), %rax
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TARGET_TYPE_AR6003,8,3         ## @TARGET_TYPE_AR6003
	.comm	_ATH6KL_AR6003_HI_START_ADDR,8,3 ## @ATH6KL_AR6003_HI_START_ADDR
	.comm	_TARGET_TYPE_AR6004,8,3         ## @TARGET_TYPE_AR6004
	.comm	_ATH6KL_AR6004_HI_START_ADDR,8,3 ## @ATH6KL_AR6004_HI_START_ADDR
	.no_dead_strip	_ath6kl_get_hi_item_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath6kl_get_hi_item_addr
_ath6kl_get_hi_item_addr:               ; @ath6kl_get_hi_item_addr
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _TARGET_TYPE_AR6003@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TARGET_TYPE_AR6003@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ATH6KL_AR6003_HI_START_ADDR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATH6KL_AR6003_HI_START_ADDR@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
Lloh5:
	adrp	x9, _TARGET_TYPE_AR6004@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TARGET_TYPE_AR6004@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
Lloh8:
	adrp	x8, _ATH6KL_AR6004_HI_START_ADDR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ATH6KL_AR6004_HI_START_ADDR@GOTPAGEOFF]
LBB0_4:
	ldr	x8, [x8]
	add	x0, x8, x1
	ret
LBB0_5:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_TARGET_TYPE_AR6003,8,3         ; @TARGET_TYPE_AR6003
	.comm	_ATH6KL_AR6003_HI_START_ADDR,8,3 ; @ATH6KL_AR6003_HI_START_ADDR
	.comm	_TARGET_TYPE_AR6004,8,3         ; @TARGET_TYPE_AR6004
	.comm	_ATH6KL_AR6004_HI_START_ADDR,8,3 ; @ATH6KL_AR6004_HI_START_ADDR
	.no_dead_strip	_ath6kl_get_hi_item_addr
.subsections_via_symbols
