	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath_rx_ps_beacon
_ath_rx_ps_beacon:                      ## @ath_rx_ps_beacon
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	24(%rdi), %edi
	callq	_ath9k_hw_common
	cmpl	$36, (%r15)
	jl	LBB0_8
## %bb.1:
	movq	%rax, %r14
	movq	_PS_WAIT_FOR_BEACON@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	notl	%eax
	andl	(%rbx), %eax
	movl	%eax, (%rbx)
	movq	_PS_BEACON_SYNC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_5
## %bb.2:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%rbx)
	movq	_PS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_ath_dbg
	movq	8(%rbx), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	sete	%dil
	callq	_WARN_ON_ONCE
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_ath9k_set_beacon
LBB0_4:
	movq	%rbx, %rdi
	callq	_ath9k_p2p_beacon_sync
LBB0_5:
	movq	%r15, %rdi
	callq	_ath_beacon_dtim_pending_cab
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_PS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	callq	_ath_dbg
	movq	_PS_WAIT_FOR_CAB@GOTPCREL(%rip), %rax
	movl	(%r12), %ecx
	orl	(%rax), %ecx
	orl	%ecx, (%rbx)
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	(%rbx), %eax
	movq	_PS_WAIT_FOR_CAB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_8
## %bb.9:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%rbx)
	movq	_PS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath_dbg                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PS_WAIT_FOR_BEACON,4,2         ## @PS_WAIT_FOR_BEACON
	.comm	_PS_BEACON_SYNC,4,2             ## @PS_BEACON_SYNC
	.comm	_PS,4,2                         ## @PS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Reconfigure beacon timers based on synchronized timestamp\n"

L_.str.1:                               ## @.str.1
	.asciz	"Received DTIM beacon indicating buffered broadcast/multicast frame(s)\n"

	.comm	_PS_WAIT_FOR_CAB,4,2            ## @PS_WAIT_FOR_CAB
L_.str.2:                               ## @.str.2
	.asciz	"PS wait for CAB frames timed out\n"

	.no_dead_strip	_ath_rx_ps_beacon
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath_rx_ps_beacon
_ath_rx_ps_beacon:                      ; @ath_rx_ps_beacon
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0, #24]
	bl	_ath9k_hw_common
	ldr	w8, [x21]
	cmp	w8, #36
	b.lt	LBB0_7
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x22, _PS_WAIT_FOR_BEACON@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PS_WAIT_FOR_BEACON@GOTPAGEOFF]
	ldr	w8, [x22]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
Lloh2:
	adrp	x9, _PS_BEACON_SYNC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PS_BEACON_SYNC@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x23, _PS@GOTPAGE
Lloh6:
	ldr	x23, [x23, _PS@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.2:
	bic	w8, w8, w9
	str	w8, [x19]
	ldr	w1, [x23]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_ath_dbg
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, eq
	bl	_WARN_ON_ONCE
	cbnz	w0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_ath9k_set_beacon
LBB0_4:
	mov	x0, x19
	bl	_ath9k_p2p_beacon_sync
LBB0_5:
	mov	x0, x21
	bl	_ath_beacon_dtim_pending_cab
	cbz	x0, LBB0_8
; %bb.6:
	ldr	w1, [x23]
Lloh9:
	adrp	x2, l_.str.1@PAGE
Lloh10:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_ath_dbg
Lloh11:
	adrp	x8, _PS_WAIT_FOR_CAB@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PS_WAIT_FOR_CAB@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	w8, [x19]
Lloh14:
	adrp	x9, _PS_WAIT_FOR_CAB@GOTPAGE
Lloh15:
	ldr	x9, [x9, _PS_WAIT_FOR_CAB@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.9:
	bic	w8, w8, w9
	str	w8, [x19]
	ldr	w1, [x23]
Lloh17:
	adrp	x2, l_.str.2@PAGE
Lloh18:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ath_dbg
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_PS_WAIT_FOR_BEACON,4,2         ; @PS_WAIT_FOR_BEACON
	.comm	_PS_BEACON_SYNC,4,2             ; @PS_BEACON_SYNC
	.comm	_PS,4,2                         ; @PS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Reconfigure beacon timers based on synchronized timestamp\n"

l_.str.1:                               ; @.str.1
	.asciz	"Received DTIM beacon indicating buffered broadcast/multicast frame(s)\n"

	.comm	_PS_WAIT_FOR_CAB,4,2            ; @PS_WAIT_FOR_CAB
l_.str.2:                               ; @.str.2
	.asciz	"PS wait for CAB frames timed out\n"

	.no_dead_strip	_ath_rx_ps_beacon
.subsections_via_symbols
