	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cw1200_tx_h_bt
_cw1200_tx_h_bt:                        ## @cw1200_tx_h_bt
	.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
	cmpl	$0, 8(%rdi)
	je	LBB0_22
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	8(%rsi), %rax
	movl	(%rax), %edi
	callq	_ieee80211_is_nullfunc
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	_WSM_EPTA_PRIORITY_MGT@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	jne	LBB0_21
	jmp	LBB0_11
LBB0_4:
	movq	8(%r15), %rax
	movl	(%rax), %edi
	callq	_ieee80211_is_data
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	(%r15), %rax
	movq	16(%r15), %rcx
	movq	(%rcx), %rcx
	movl	24(%rcx,%rax,4), %edi
	callq	_be16_to_cpu
	movq	_ETH_P_PAE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.6:
	movq	_WSM_EPTA_PRIORITY_EAPOL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_7:
	movq	8(%r15), %rax
	movl	(%rax), %edi
	callq	_ieee80211_is_assoc_req
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movq	8(%r15), %rax
	movl	(%rax), %edi
	callq	_ieee80211_is_reassoc_req
	testq	%rax, %rax
	je	LBB0_11
LBB0_9:
	movq	8(%r15), %r12
	movl	(%r12), %edi
	callq	_le16_to_cpu
	movq	(%rbx), %rsi
	cmpq	%rsi, %rax
	jge	LBB0_11
## %bb.10:
	movl	(%r12), %edx
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	(%rbx), %rdi
	callq	_cpu_to_le16
	movl	%eax, (%r12)
LBB0_11:
	movq	8(%r15), %rax
	movl	(%rax), %edi
	callq	_ieee80211_is_action
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_WSM_EPTA_PRIORITY_ACTION@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_13:
	movq	8(%r15), %rax
	movl	(%rax), %edi
	callq	_ieee80211_is_mgmt
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	_WSM_EPTA_PRIORITY_MGT@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_15:
	movq	(%r14), %rax
	movq	_WSM_QUEUE_VOICE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.16:
	movq	_WSM_EPTA_PRIORITY_VOICE@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_17:
	movq	_WSM_QUEUE_VIDEO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.18:
	movq	_WSM_EPTA_PRIORITY_VIDEO@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_19:
	movq	_WSM_EPTA_PRIORITY_DATA@GOTPCREL(%rip), %rax
LBB0_20:
	movl	(%rax), %ebx
LBB0_21:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_pr_debug
	addl	%ebx, %ebx
	orl	%ebx, 8(%r14)
LBB0_22:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WSM_EPTA_PRIORITY_MGT,4,2      ## @WSM_EPTA_PRIORITY_MGT
	.comm	_ETH_P_PAE,8,3                  ## @ETH_P_PAE
	.comm	_WSM_EPTA_PRIORITY_EAPOL,4,2    ## @WSM_EPTA_PRIORITY_EAPOL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Modified Listen Interval to %d from %d\n"

	.comm	_WSM_EPTA_PRIORITY_ACTION,4,2   ## @WSM_EPTA_PRIORITY_ACTION
	.comm	_WSM_QUEUE_VOICE,8,3            ## @WSM_QUEUE_VOICE
	.comm	_WSM_EPTA_PRIORITY_VOICE,4,2    ## @WSM_EPTA_PRIORITY_VOICE
	.comm	_WSM_QUEUE_VIDEO,8,3            ## @WSM_QUEUE_VIDEO
	.comm	_WSM_EPTA_PRIORITY_VIDEO,4,2    ## @WSM_EPTA_PRIORITY_VIDEO
	.comm	_WSM_EPTA_PRIORITY_DATA,4,2     ## @WSM_EPTA_PRIORITY_DATA
L_.str.1:                               ## @.str.1
	.asciz	"[TX] EPTA priority %d.\n"

	.no_dead_strip	_cw1200_tx_h_bt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cw1200_tx_h_bt
_cw1200_tx_h_bt:                        ; @cw1200_tx_h_bt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_16
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x1, #8]
	ldr	w0, [x8]
	bl	_ieee80211_is_nullfunc
Lloh0:
	adrp	x22, _WSM_EPTA_PRIORITY_MGT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _WSM_EPTA_PRIORITY_MGT@GOTPAGEOFF]
	mov	x8, x22
	cbz	x0, LBB0_3
LBB0_2:
	ldr	w21, [x8]
	cbnz	w21, LBB0_15
	b	LBB0_10
LBB0_3:
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	bl	_ieee80211_is_data
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	ldr	x9, [x20]
	add	x8, x8, x9, lsl #2
	ldr	w0, [x8, #24]
	bl	_be16_to_cpu
Lloh2:
	adrp	x8, _ETH_P_PAE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ETH_P_PAE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.5:
Lloh5:
	adrp	x8, _WSM_EPTA_PRIORITY_EAPOL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WSM_EPTA_PRIORITY_EAPOL@GOTPAGEOFF]
	b	LBB0_2
LBB0_6:
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	bl	_ieee80211_is_assoc_req
	cbnz	x0, LBB0_8
; %bb.7:
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	bl	_ieee80211_is_reassoc_req
	cbz	x0, LBB0_10
LBB0_8:
	ldr	x23, [x20, #8]
	ldr	w0, [x23]
	bl	_le16_to_cpu
	ldr	x1, [x21]
	cmp	x0, x1
	b.ge	LBB0_10
; %bb.9:
	ldr	w8, [x23]
	str	x8, [sp]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_pr_debug
	ldr	x0, [x21]
	bl	_cpu_to_le16
	str	w0, [x23]
LBB0_10:
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	bl	_ieee80211_is_action
	cbz	x0, LBB0_13
; %bb.11:
Lloh9:
	adrp	x8, _WSM_EPTA_PRIORITY_ACTION@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WSM_EPTA_PRIORITY_ACTION@GOTPAGEOFF]
LBB0_12:
	ldr	w21, [x8]
	b	LBB0_15
LBB0_13:
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	bl	_ieee80211_is_mgmt
	cbz	x0, LBB0_17
; %bb.14:
	ldr	w21, [x22]
LBB0_15:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_pr_debug
	ldr	w8, [x19, #8]
	orr	w8, w8, w21, lsl #1
	str	w8, [x19, #8]
LBB0_16:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_17:
	ldr	x8, [x19]
Lloh13:
	adrp	x9, _WSM_QUEUE_VOICE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _WSM_QUEUE_VOICE@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.18:
Lloh16:
	adrp	x8, _WSM_EPTA_PRIORITY_VOICE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _WSM_EPTA_PRIORITY_VOICE@GOTPAGEOFF]
	b	LBB0_12
LBB0_19:
Lloh18:
	adrp	x9, _WSM_QUEUE_VIDEO@GOTPAGE
Lloh19:
	ldr	x9, [x9, _WSM_QUEUE_VIDEO@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.20:
Lloh21:
	adrp	x8, _WSM_EPTA_PRIORITY_VIDEO@GOTPAGE
Lloh22:
	ldr	x8, [x8, _WSM_EPTA_PRIORITY_VIDEO@GOTPAGEOFF]
	b	LBB0_12
LBB0_21:
Lloh23:
	adrp	x8, _WSM_EPTA_PRIORITY_DATA@GOTPAGE
Lloh24:
	ldr	x8, [x8, _WSM_EPTA_PRIORITY_DATA@GOTPAGEOFF]
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_WSM_EPTA_PRIORITY_MGT,4,2      ; @WSM_EPTA_PRIORITY_MGT
	.comm	_ETH_P_PAE,8,3                  ; @ETH_P_PAE
	.comm	_WSM_EPTA_PRIORITY_EAPOL,4,2    ; @WSM_EPTA_PRIORITY_EAPOL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Modified Listen Interval to %d from %d\n"

	.comm	_WSM_EPTA_PRIORITY_ACTION,4,2   ; @WSM_EPTA_PRIORITY_ACTION
	.comm	_WSM_QUEUE_VOICE,8,3            ; @WSM_QUEUE_VOICE
	.comm	_WSM_EPTA_PRIORITY_VOICE,4,2    ; @WSM_EPTA_PRIORITY_VOICE
	.comm	_WSM_QUEUE_VIDEO,8,3            ; @WSM_QUEUE_VIDEO
	.comm	_WSM_EPTA_PRIORITY_VIDEO,4,2    ; @WSM_EPTA_PRIORITY_VIDEO
	.comm	_WSM_EPTA_PRIORITY_DATA,4,2     ; @WSM_EPTA_PRIORITY_DATA
l_.str.1:                               ; @.str.1
	.asciz	"[TX] EPTA priority %d.\n"

	.no_dead_strip	_cw1200_tx_h_bt
.subsections_via_symbols
