	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath_ant_div_comb_alt_check
_ath_ant_div_comb_alt_check:            ## @ath_ant_div_comb_alt_check
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
                                        ## kill: def $r8d killed $r8d def $r8
	movq	(%rdi), %rax
	movq	_ATH_ANT_DIV_COMB_LNA2@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r11
	movq	_ATH_ANT_DIV_COMB_LNA1@GOTPCREL(%rip), %rbx
	cmpq	%r11, %rax
	jne	LBB0_1
## %bb.2:
	movq	(%rbx), %rbx
	cmpq	%rbx, 8(%rdi)
	setne	%r10b
	jmp	LBB0_3
LBB0_1:
	movq	(%rbx), %rbx
	movb	$1, %r10b
LBB0_3:
	movb	$1, %r9b
	cmpq	%rbx, %rax
	jne	LBB0_5
## %bb.4:
	cmpq	%r11, 8(%rdi)
	setne	%r9b
LBB0_5:
	movl	16(%rdi), %edi
	xorl	%eax, %eax
	leal	-1(%rdi), %ebx
	cmpl	$2, %ebx
	jb	LBB0_9
## %bb.6:
	cmpl	$3, %edi
	je	LBB0_13
## %bb.7:
	testl	%edi, %edi
	jne	LBB0_20
## %bb.8:
	movq	_ATH_ANT_DIV_COMB_ALT_ANT_RATIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	%edx, (%rcx)
	setl	%al
	jmp	LBB0_20
LBB0_9:
	cmpl	$4, %ecx
	jl	LBB0_20
## %bb.10:
	cmpl	%ecx, (%rsi)
	jg	LBB0_20
## %bb.11:
	leal	-5(%r8), %edi
	cmpl	%ecx, %edi
	setg	%bl
	orb	%bl, %r10b
	cmpb	$1, %r10b
	jne	LBB0_19
## %bb.12:
	addl	$-2, %r8d
	jmp	LBB0_17
LBB0_13:
	cmpl	$4, %ecx
	jl	LBB0_20
## %bb.14:
	cmpl	%ecx, (%rsi)
	jg	LBB0_20
## %bb.15:
	leal	-3(%r8), %edi
	cmpl	%ecx, %edi
	setg	%bl
	orb	%bl, %r10b
	cmpb	$1, %r10b
	jne	LBB0_19
## %bb.16:
	addl	$3, %r8d
LBB0_17:
	cmpl	%ecx, %r8d
	setg	%cl
	orb	%cl, %r9b
	cmpb	$1, %r9b
	jne	LBB0_19
## %bb.18:
	cmpl	%edx, 4(%rsi)
	jge	LBB0_20
LBB0_19:
	movl	$1, %eax
LBB0_20:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH_ANT_DIV_COMB_LNA2,8,3      ## @ATH_ANT_DIV_COMB_LNA2
	.comm	_ATH_ANT_DIV_COMB_LNA1,8,3      ## @ATH_ANT_DIV_COMB_LNA1
	.comm	_ATH_ANT_DIV_COMB_ALT_ANT_RATIO,4,2 ## @ATH_ANT_DIV_COMB_ALT_ANT_RATIO
	.no_dead_strip	_ath_ant_div_comb_alt_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath_ant_div_comb_alt_check
_ath_ant_div_comb_alt_check:            ; @ath_ant_div_comb_alt_check
	.cfi_startproc
; %bb.0:
	ldr	x10, [x0]
Lloh0:
	adrp	x8, _ATH_ANT_DIV_COMB_LNA2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH_ANT_DIV_COMB_LNA2@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	cmp	x10, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x11, _ATH_ANT_DIV_COMB_LNA1@GOTPAGE
Lloh4:
	ldr	x11, [x11, _ATH_ANT_DIV_COMB_LNA1@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cmp	x8, x11
	cset	w8, ne
	cmp	x10, x11
	b.eq	LBB0_4
LBB0_2:
	mov	w9, #1
	b	LBB0_5
LBB0_3:
Lloh6:
	adrp	x8, _ATH_ANT_DIV_COMB_LNA1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATH_ANT_DIV_COMB_LNA1@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x8]
	mov	w8, #1
	cmp	x10, x11
	b.ne	LBB0_2
LBB0_4:
	ldr	x10, [x0, #8]
	cmp	x10, x9
	cset	w9, ne
LBB0_5:
	ldr	w10, [x0, #16]
	sub	w11, w10, #1
	cmp	w11, #2
	b.lo	LBB0_9
; %bb.6:
	cmp	w10, #3
	b.eq	LBB0_13
; %bb.7:
	cbnz	w10, LBB0_20
; %bb.8:
Lloh9:
	adrp	x8, _ATH_ANT_DIV_COMB_ALT_ANT_RATIO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ATH_ANT_DIV_COMB_ALT_ANT_RATIO@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, w2
	cset	w0, lt
	ret
LBB0_9:
	cmp	w3, #4
	b.lt	LBB0_20
; %bb.10:
	ldr	w10, [x1]
	cmp	w10, w3
	b.gt	LBB0_20
; %bb.11:
	sub	w10, w4, #5
	cmp	w10, w3
	cset	w10, gt
	orr	w8, w8, w10
	cmp	w8, #1
	b.ne	LBB0_19
; %bb.12:
	sub	w8, w4, #2
	b	LBB0_17
LBB0_13:
	cmp	w3, #4
	b.lt	LBB0_20
; %bb.14:
	ldr	w10, [x1]
	cmp	w10, w3
	b.gt	LBB0_20
; %bb.15:
	sub	w10, w4, #3
	cmp	w10, w3
	cset	w10, gt
	orr	w8, w8, w10
	cmp	w8, #1
	b.ne	LBB0_19
; %bb.16:
	add	w8, w4, #3
LBB0_17:
	cmp	w8, w3
	cset	w8, gt
	orr	w8, w9, w8
	cmp	w8, #1
	b.ne	LBB0_19
; %bb.18:
	ldr	w8, [x1, #4]
	cmp	w8, w2
	b.ge	LBB0_20
LBB0_19:
	mov	w0, #1
	ret
LBB0_20:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH_ANT_DIV_COMB_LNA2,8,3      ; @ATH_ANT_DIV_COMB_LNA2
	.comm	_ATH_ANT_DIV_COMB_LNA1,8,3      ; @ATH_ANT_DIV_COMB_LNA1
	.comm	_ATH_ANT_DIV_COMB_ALT_ANT_RATIO,4,2 ; @ATH_ANT_DIV_COMB_ALT_ANT_RATIO
	.no_dead_strip	_ath_ant_div_comb_alt_check
.subsections_via_symbols
