	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_get_max_txpwr_half_dbm
_iwl_get_max_txpwr_half_dbm:            ## @iwl_get_max_txpwr_half_dbm
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	movq	_ANT_A@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	(%rsi), %rdx
	xorl	%eax, %eax
	testq	%rdx, %rdx
	cmovgq	%rdx, %rax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movq	_ANT_B@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_5
## %bb.4:
	movq	8(%rsi), %rdx
	cmpq	%rax, %rdx
	cmovgq	%rdx, %rax
LBB0_5:
	movq	_ANT_C@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_7
## %bb.6:
	movq	16(%rsi), %rdx
	cmpq	%rax, %rdx
	cmovgq	%rdx, %rax
LBB0_7:
	movq	_ANT_AB@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_10
## %bb.8:
	movq	_ANT_BC@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_10
## %bb.9:
	movq	_ANT_AC@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_11
LBB0_10:
	movq	24(%rsi), %rdx
	cmpq	%rax, %rdx
	cmovgq	%rdx, %rax
LBB0_11:
	movq	_ANT_ABC@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_13
## %bb.12:
	movq	32(%rsi), %rcx
	cmpq	%rax, %rcx
	cmovgq	%rcx, %rax
LBB0_13:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ANT_A,4,2                      ## @ANT_A
	.comm	_ANT_B,4,2                      ## @ANT_B
	.comm	_ANT_C,4,2                      ## @ANT_C
	.comm	_ANT_AB,4,2                     ## @ANT_AB
	.comm	_ANT_BC,4,2                     ## @ANT_BC
	.comm	_ANT_AC,4,2                     ## @ANT_AC
	.comm	_ANT_ABC,4,2                    ## @ANT_ABC
	.no_dead_strip	_iwl_get_max_txpwr_half_dbm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_get_max_txpwr_half_dbm
_iwl_get_max_txpwr_half_dbm:            ; @iwl_get_max_txpwr_half_dbm
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _ANT_A@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ANT_A@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x9, [x1]
	cmp	x9, #0
	csel	x0, x9, xzr, gt
	b	LBB0_3
LBB0_2:
	mov	x0, #0
LBB0_3:
Lloh3:
	adrp	x9, _ANT_B@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ANT_B@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	ldr	x9, [x1, #8]
	cmp	x9, x0
	csel	x0, x9, x0, gt
LBB0_5:
Lloh6:
	adrp	x9, _ANT_C@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ANT_C@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	ldr	x9, [x1, #16]
	cmp	x9, x0
	csel	x0, x9, x0, gt
LBB0_7:
Lloh9:
	adrp	x9, _ANT_AB@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ANT_AB@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _ANT_BC@GOTPAGE
Lloh13:
	ldr	x10, [x10, _ANT_BC@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
Lloh15:
	adrp	x11, _ANT_AC@GOTPAGE
Lloh16:
	ldr	x11, [x11, _ANT_AC@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	ccmp	w8, w11, #4, ne
	b.ne	LBB0_9
; %bb.8:
	ldr	x9, [x1, #24]
	cmp	x9, x0
	csel	x0, x9, x0, gt
LBB0_9:
Lloh18:
	adrp	x9, _ANT_ABC@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ANT_ABC@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_11
; %bb.10:
	ldr	x8, [x1, #32]
	cmp	x8, x0
	csel	x0, x8, x0, gt
LBB0_11:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ANT_A,4,2                      ; @ANT_A
	.comm	_ANT_B,4,2                      ; @ANT_B
	.comm	_ANT_C,4,2                      ; @ANT_C
	.comm	_ANT_AB,4,2                     ; @ANT_AB
	.comm	_ANT_BC,4,2                     ; @ANT_BC
	.comm	_ANT_AC,4,2                     ; @ANT_AC
	.comm	_ANT_ABC,4,2                    ; @ANT_ABC
	.no_dead_strip	_iwl_get_max_txpwr_half_dbm
.subsections_via_symbols
