	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath_ant_set_alt_ratio
_ath_ant_set_alt_ratio:                 ## @ath_ant_set_alt_ratio
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, 48(%rdi)
	movq	40(%rdi), %rax
	je	LBB0_8
## %bb.1:
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	(%rdi), %rax
	cmpq	8(%rdi), %rax
	jle	LBB0_9
LBB0_3:
	movq	16(%rdi), %rcx
	jmp	LBB0_4
LBB0_8:
	testq	%rax, %rax
	je	LBB0_12
LBB0_9:
	movq	24(%rdi), %rcx
	jmp	LBB0_4
LBB0_12:
	movq	32(%rdi), %rcx
LBB0_4:
	movq	_ATH_ANT_DIV_COMB_LNA1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ATH_ANT_DIV_COMB_LNA2@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rax, %rcx
	je	LBB0_6
## %bb.5:
	cmpq	%rdx, %rcx
	je	LBB0_6
## %bb.13:
	movq	%rcx, 8(%rsi)
	popq	%rbp
	retq
LBB0_6:
	cmpq	%rdx, (%rsi)
	jne	LBB0_14
## %bb.7:
	movq	%rax, 8(%rsi)
	popq	%rbp
	retq
LBB0_14:
	movq	%rdx, 8(%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH_ANT_DIV_COMB_LNA1,8,3      ## @ATH_ANT_DIV_COMB_LNA1
	.comm	_ATH_ANT_DIV_COMB_LNA2,8,3      ## @ATH_ANT_DIV_COMB_LNA2
	.no_dead_strip	_ath_ant_set_alt_ratio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath_ant_set_alt_ratio
_ath_ant_set_alt_ratio:                 ; @ath_ant_set_alt_ratio
	.cfi_startproc
; %bb.0:
	ldp	x8, x9, [x0, #40]
	cbz	x9, LBB0_6
; %bb.1:
	cbz	x8, LBB0_10
; %bb.2:
	ldp	x8, x9, [x0]
	cmp	x8, x9
	b.le	LBB0_13
; %bb.3:
	ldr	x10, [x0, #16]
Lloh0:
	adrp	x8, _ATH_ANT_DIV_COMB_LNA1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH_ANT_DIV_COMB_LNA1@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _ATH_ANT_DIV_COMB_LNA2@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ATH_ANT_DIV_COMB_LNA2@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x10, x8
	ccmp	x10, x9, #4, ne
	b.ne	LBB0_19
; %bb.4:
	ldr	x10, [x1]
	cmp	x10, x9
	b.ne	LBB0_20
; %bb.5:
	str	x8, [x1, #8]
	ret
LBB0_6:
	cbz	x8, LBB0_16
; %bb.7:
	ldr	x10, [x0, #24]
Lloh6:
	adrp	x8, _ATH_ANT_DIV_COMB_LNA1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATH_ANT_DIV_COMB_LNA1@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _ATH_ANT_DIV_COMB_LNA2@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ATH_ANT_DIV_COMB_LNA2@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x10, x8
	ccmp	x10, x9, #4, ne
	b.ne	LBB0_19
; %bb.8:
	ldr	x10, [x1]
	cmp	x10, x9
	b.ne	LBB0_20
; %bb.9:
	str	x8, [x1, #8]
	ret
LBB0_10:
	ldr	x10, [x0, #16]
Lloh12:
	adrp	x8, _ATH_ANT_DIV_COMB_LNA1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ATH_ANT_DIV_COMB_LNA1@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _ATH_ANT_DIV_COMB_LNA2@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ATH_ANT_DIV_COMB_LNA2@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x10, x8
	ccmp	x10, x9, #4, ne
	b.ne	LBB0_19
; %bb.11:
	ldr	x10, [x1]
	cmp	x10, x9
	b.ne	LBB0_20
; %bb.12:
	str	x8, [x1, #8]
	ret
LBB0_13:
	ldr	x10, [x0, #24]
Lloh18:
	adrp	x8, _ATH_ANT_DIV_COMB_LNA1@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ATH_ANT_DIV_COMB_LNA1@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
Lloh21:
	adrp	x9, _ATH_ANT_DIV_COMB_LNA2@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ATH_ANT_DIV_COMB_LNA2@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x10, x8
	ccmp	x10, x9, #4, ne
	b.ne	LBB0_19
; %bb.14:
	ldr	x10, [x1]
	cmp	x10, x9
	b.ne	LBB0_20
; %bb.15:
	str	x8, [x1, #8]
	ret
LBB0_16:
	ldr	x10, [x0, #32]
Lloh24:
	adrp	x8, _ATH_ANT_DIV_COMB_LNA1@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ATH_ANT_DIV_COMB_LNA1@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
Lloh27:
	adrp	x9, _ATH_ANT_DIV_COMB_LNA2@GOTPAGE
Lloh28:
	ldr	x9, [x9, _ATH_ANT_DIV_COMB_LNA2@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x10, x8
	ccmp	x10, x9, #4, ne
	b.ne	LBB0_19
; %bb.17:
	ldr	x10, [x1]
	cmp	x10, x9
	b.ne	LBB0_20
; %bb.18:
	str	x8, [x1, #8]
	ret
LBB0_19:
	str	x10, [x1, #8]
	ret
LBB0_20:
	str	x9, [x1, #8]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH_ANT_DIV_COMB_LNA1,8,3      ; @ATH_ANT_DIV_COMB_LNA1
	.comm	_ATH_ANT_DIV_COMB_LNA2,8,3      ; @ATH_ANT_DIV_COMB_LNA2
	.no_dead_strip	_ath_ant_set_alt_ratio
.subsections_via_symbols
