	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il3945_get_antenna_flags       ## -- Begin function il3945_get_antenna_flags
	.p2align	4, 0x90
_il3945_get_antenna_flags:              ## @il3945_get_antenna_flags
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movq	_il3945_mod_params@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	cmpl	$130, %esi
	je	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	cmpl	$129, %esi
	je	LBB0_8
## %bb.2:
	cmpl	$128, %esi
	jne	LBB0_7
## %bb.3:
	cmpl	$0, (%rax)
	movq	_RXON_FLG_DIS_DIV_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	je	LBB0_6
LBB0_4:
	movq	_RXON_FLG_ANT_B_MSK@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	jmp	LBB0_8
LBB0_5:
	cmpl	$0, (%rax)
	movq	_RXON_FLG_DIS_DIV_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	je	LBB0_4
LBB0_6:
	movq	_RXON_FLG_ANT_A_MSK@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str(%rip), %rdi
	callq	_IL_ERR
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_il3945_mod_params,4,2          ## @il3945_mod_params
	.comm	_RXON_FLG_DIS_DIV_MSK,4,2       ## @RXON_FLG_DIS_DIV_MSK
	.comm	_RXON_FLG_ANT_B_MSK,4,2         ## @RXON_FLG_ANT_B_MSK
	.comm	_RXON_FLG_ANT_A_MSK,4,2         ## @RXON_FLG_ANT_A_MSK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bad antenna selector value (0x%x)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il3945_get_antenna_flags       ; -- Begin function il3945_get_antenna_flags
	.p2align	2
_il3945_get_antenna_flags:              ; @il3945_get_antenna_flags
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _il3945_mod_params@GOTPAGE
Lloh1:
	ldr	x9, [x9, _il3945_mod_params@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	cmp	w1, #130
	b.eq	LBB0_5
; %bb.1:
	cmp	w1, #129
	b.eq	LBB0_9
; %bb.2:
	cmp	w1, #128
	b.ne	LBB0_8
; %bb.3:
	ldr	w9, [x8]
Lloh3:
	adrp	x8, _RXON_FLG_DIS_DIV_MSK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RXON_FLG_DIS_DIV_MSK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cbz	w9, LBB0_6
LBB0_4:
Lloh6:
	adrp	x9, _RXON_FLG_ANT_B_MSK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RXON_FLG_ANT_B_MSK@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	ldr	w9, [x8]
Lloh8:
	adrp	x8, _RXON_FLG_DIS_DIV_MSK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RXON_FLG_DIS_DIV_MSK@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cbz	w9, LBB0_4
LBB0_6:
Lloh11:
	adrp	x9, _RXON_FLG_ANT_A_MSK@GOTPAGE
Lloh12:
	ldr	x9, [x9, _RXON_FLG_ANT_A_MSK@GOTPAGEOFF]
LBB0_7:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	_IL_ERR
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_il3945_mod_params,4,2          ; @il3945_mod_params
	.comm	_RXON_FLG_DIS_DIV_MSK,4,2       ; @RXON_FLG_DIS_DIV_MSK
	.comm	_RXON_FLG_ANT_B_MSK,4,2         ; @RXON_FLG_ANT_B_MSK
	.comm	_RXON_FLG_ANT_A_MSK,4,2         ; @RXON_FLG_ANT_A_MSK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bad antenna selector value (0x%x)\n"

.subsections_via_symbols
