	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath5k_hw_enable_pspoll         ## -- Begin function ath5k_hw_enable_pspoll
	.p2align	4, 0x90
_ath5k_hw_enable_pspoll:                ## @ath5k_hw_enable_pspoll
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_AR5K_AR5210@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_AR5K_STA_ID1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR5K_STA_ID1_NO_PSPOLL@GOTPCREL(%rip), %rax
	movq	_AR5K_STA_ID1_DEFAULT_ANTENNA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	callq	_AR5K_REG_DISABLE_BITS
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AR5K_AR5210,8,3                ## @AR5K_AR5210
	.comm	_AR5K_STA_ID1,4,2               ## @AR5K_STA_ID1
	.comm	_AR5K_STA_ID1_NO_PSPOLL,4,2     ## @AR5K_STA_ID1_NO_PSPOLL
	.comm	_AR5K_STA_ID1_DEFAULT_ANTENNA,4,2 ## @AR5K_STA_ID1_DEFAULT_ANTENNA
	.comm	_EIO,4,2                        ## @EIO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath5k_hw_enable_pspoll         ; -- Begin function ath5k_hw_enable_pspoll
	.p2align	2
_ath5k_hw_enable_pspoll:                ; @ath5k_hw_enable_pspoll
	.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, _AR5K_AR5210@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AR5K_AR5210@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _AR5K_STA_ID1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AR5K_STA_ID1@GOTPAGEOFF]
Lloh5:
	adrp	x9, _AR5K_STA_ID1_NO_PSPOLL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AR5K_STA_ID1_NO_PSPOLL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	ldr	w8, [x9]
Lloh9:
	adrp	x9, _AR5K_STA_ID1_DEFAULT_ANTENNA@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AR5K_STA_ID1_DEFAULT_ANTENNA@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_AR5K_REG_DISABLE_BITS
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh12:
	adrp	x8, _EIO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_AR5K_AR5210,8,3                ; @AR5K_AR5210
	.comm	_AR5K_STA_ID1,4,2               ; @AR5K_STA_ID1
	.comm	_AR5K_STA_ID1_NO_PSPOLL,4,2     ; @AR5K_STA_ID1_NO_PSPOLL
	.comm	_AR5K_STA_ID1_DEFAULT_ANTENNA,4,2 ; @AR5K_STA_ID1_DEFAULT_ANTENNA
	.comm	_EIO,4,2                        ; @EIO
.subsections_via_symbols
