	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostap_bap_tasklet
_hostap_bap_tasklet:                    ## @hostap_bap_tasklet
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movq	16(%rdi), %rbx
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	*%rax
	testl	%eax, %eax
	je	LBB0_15
LBB0_2:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	_HOSTAP_BITS_BAP_TASKLET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_set_bit
	movl	$-30, %r13d
	movq	_HFA384X_EVSTAT_OFF@GOTPCREL(%rip), %r12
	movq	_HFA384X_EV_TXEXC@GOTPCREL(%rip), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	%r13d
	je	LBB0_14
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_HFA384X_INW
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	je	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %ebx
	movq	_HFA384X_BAP0_EVENTS@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_HFA384X_EV_RX@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_prism2_rx
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_HFA384X_EV_INFO@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_prism2_info
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_HFA384X_EV_TX@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_prism2_tx_ev
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	testl	%ebx, (%r14)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_prism2_txexc
	jmp	LBB0_13
LBB0_14:
	movq	_HOSTAP_BITS_BAP_TASKLET2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	%r15, %rsi
	callq	_set_bit
	movq	_HOSTAP_BITS_BAP_TASKLET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_clear_bit
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_hfa384x_events_all
	movl	(%rbx), %edi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_clear_bit                      ## TAILCALL
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOSTAP_BITS_BAP_TASKLET,4,2    ## @HOSTAP_BITS_BAP_TASKLET
	.comm	_HFA384X_EVSTAT_OFF,4,2         ## @HFA384X_EVSTAT_OFF
	.comm	_HFA384X_BAP0_EVENTS,4,2        ## @HFA384X_BAP0_EVENTS
	.comm	_HFA384X_EV_RX,4,2              ## @HFA384X_EV_RX
	.comm	_HFA384X_EV_INFO,4,2            ## @HFA384X_EV_INFO
	.comm	_HFA384X_EV_TX,4,2              ## @HFA384X_EV_TX
	.comm	_HFA384X_EV_TXEXC,4,2           ## @HFA384X_EV_TXEXC
	.comm	_HOSTAP_BITS_BAP_TASKLET2,4,2   ## @HOSTAP_BITS_BAP_TASKLET2
	.no_dead_strip	_hostap_bap_tasklet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostap_bap_tasklet
_hostap_bap_tasklet:                    ; @hostap_bap_tasklet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldp	x8, x20, [x0, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_15
LBB0_2:
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x8, _HOSTAP_BITS_BAP_TASKLET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HOSTAP_BITS_BAP_TASKLET@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_set_bit
Lloh3:
	adrp	x23, _HFA384X_EVSTAT_OFF@GOTPAGE
Lloh4:
	ldr	x23, [x23, _HFA384X_EVSTAT_OFF@GOTPAGEOFF]
	mov	w24, #-30
	mov	w25, #65535
Lloh5:
	adrp	x26, _HFA384X_BAP0_EVENTS@GOTPAGE
Lloh6:
	ldr	x26, [x26, _HFA384X_BAP0_EVENTS@GOTPAGEOFF]
Lloh7:
	adrp	x27, _HFA384X_EV_RX@GOTPAGE
Lloh8:
	ldr	x27, [x27, _HFA384X_EV_RX@GOTPAGEOFF]
Lloh9:
	adrp	x28, _HFA384X_EV_INFO@GOTPAGE
Lloh10:
	ldr	x28, [x28, _HFA384X_EV_INFO@GOTPAGEOFF]
Lloh11:
	adrp	x22, _HFA384X_EV_TX@GOTPAGE
Lloh12:
	ldr	x22, [x22, _HFA384X_EV_TX@GOTPAGEOFF]
Lloh13:
	adrp	x20, _HFA384X_EV_TXEXC@GOTPAGE
Lloh14:
	ldr	x20, [x20, _HFA384X_EV_TXEXC@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	adds	w24, w24, #1
	b.hs	LBB0_14
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	bl	_HFA384X_INW
	cmp	w0, w25
	b.eq	LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x0
	ldr	w8, [x26]
	tst	w8, w0
	b.eq	LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x27]
	tst	w8, w21
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_prism2_rx
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x28]
	tst	w8, w21
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_prism2_info
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x22]
	tst	w8, w21
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_prism2_tx_ev
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20]
	tst	w8, w21
	b.eq	LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_prism2_txexc
	b	LBB0_3
LBB0_14:
Lloh15:
	adrp	x20, _HOSTAP_BITS_BAP_TASKLET2@GOTPAGE
Lloh16:
	ldr	x20, [x20, _HOSTAP_BITS_BAP_TASKLET2@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	x1, x19
	bl	_set_bit
Lloh17:
	adrp	x8, _HOSTAP_BITS_BAP_TASKLET@GOTPAGE
Lloh18:
	ldr	x8, [x8, _HOSTAP_BITS_BAP_TASKLET@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_clear_bit
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_hfa384x_events_all
	ldr	w0, [x20]
	mov	x1, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_clear_bit
LBB0_15:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_HOSTAP_BITS_BAP_TASKLET,4,2    ; @HOSTAP_BITS_BAP_TASKLET
	.comm	_HFA384X_EVSTAT_OFF,4,2         ; @HFA384X_EVSTAT_OFF
	.comm	_HFA384X_BAP0_EVENTS,4,2        ; @HFA384X_BAP0_EVENTS
	.comm	_HFA384X_EV_RX,4,2              ; @HFA384X_EV_RX
	.comm	_HFA384X_EV_INFO,4,2            ; @HFA384X_EV_INFO
	.comm	_HFA384X_EV_TX,4,2              ; @HFA384X_EV_TX
	.comm	_HFA384X_EV_TXEXC,4,2           ; @HFA384X_EV_TXEXC
	.comm	_HOSTAP_BITS_BAP_TASKLET2,4,2   ; @HOSTAP_BITS_BAP_TASKLET2
	.no_dead_strip	_hostap_bap_tasklet
.subsections_via_symbols
