	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43_ieee80211_antenna_sanitize ## -- Begin function b43_ieee80211_antenna_sanitize
	.p2align	4, 0x90
_b43_ieee80211_antenna_sanitize:        ## @b43_ieee80211_antenna_sanitize
	.cfi_startproc
## %bb.0:
                                        ## kill: def $esi killed $esi def $rsi
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	cmpq	$0, 8(%rdi)
	sete	%al
	movq	(%rdi), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %ecx
	leal	-1(%rsi), %eax
	movzbl	%al, %edx
	xorl	%eax, %eax
	btl	%edx, %ecx
	cmovbl	%esi, %eax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43_ieee80211_antenna_sanitize ; -- Begin function b43_ieee80211_antenna_sanitize
	.p2align	2
_b43_ieee80211_antenna_sanitize:        ; @b43_ieee80211_antenna_sanitize
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_2
; %bb.1:
	ldp	x9, x8, [x0]
	cmp	x8, #0
	cset	w8, eq
	ldr	x9, [x9]
	ldr	w8, [x9, w8, uxtw #2]
	sub	w9, w1, #1
	lsr	w8, w8, w9
	sbfx	w8, w8, #0, #1
	and	w0, w8, w1
	ret
LBB0_2:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
