	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ar9003_mci_get_max_txpower     ## -- Begin function ar9003_mci_get_max_txpower
	.p2align	4, 0x90
_ar9003_mci_get_max_txpower:            ## @ar9003_mci_get_max_txpower
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	_CTL_2GHT20@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	_ATH_BTCOEX_HT20_MAX_TXPOWER@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_1:
	movl	$-1, %eax
	popq	%rbp
	retq
LBB0_4:
	movq	_CTL_2GHT40@GOTPCREL(%rip), %rcx
	movl	$-1, %eax
	cmpq	%rsi, (%rcx)
	jne	LBB0_7
## %bb.5:
	movq	_ATH_BTCOEX_HT40_MAX_TXPOWER@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CTL_2GHT20,8,3                 ## @CTL_2GHT20
	.comm	_ATH_BTCOEX_HT20_MAX_TXPOWER,4,2 ## @ATH_BTCOEX_HT20_MAX_TXPOWER
	.comm	_CTL_2GHT40,8,3                 ## @CTL_2GHT40
	.comm	_ATH_BTCOEX_HT40_MAX_TXPOWER,4,2 ## @ATH_BTCOEX_HT40_MAX_TXPOWER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ar9003_mci_get_max_txpower     ; -- Begin function ar9003_mci_get_max_txpower
	.p2align	2
_ar9003_mci_get_max_txpower:            ; @ar9003_mci_get_max_txpower
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _CTL_2GHT20@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CTL_2GHT20@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _ATH_BTCOEX_HT20_MAX_TXPOWER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATH_BTCOEX_HT20_MAX_TXPOWER@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_3:
	mov	w0, #-1
	ret
LBB0_4:
Lloh6:
	adrp	x8, _CTL_2GHT40@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CTL_2GHT40@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _ATH_BTCOEX_HT40_MAX_TXPOWER@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ATH_BTCOEX_HT40_MAX_TXPOWER@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	x8, x1
	csinv	w0, w9, wzr, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CTL_2GHT20,8,3                 ; @CTL_2GHT20
	.comm	_ATH_BTCOEX_HT20_MAX_TXPOWER,4,2 ; @ATH_BTCOEX_HT20_MAX_TXPOWER
	.comm	_CTL_2GHT40,8,3                 ; @CTL_2GHT40
	.comm	_ATH_BTCOEX_HT40_MAX_TXPOWER,4,2 ; @ATH_BTCOEX_HT40_MAX_TXPOWER
.subsections_via_symbols
