	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p54_tx_80211_header
_p54_tx_80211_header:                   ## @p54_tx_80211_header
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %r15
	movq	32(%rbp), %r12
	movq	(%rsi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%rax), %edi
	callq	_ieee80211_is_data_qos
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, (%r12)
	movq	%r15, %r12
	movl	(%r13), %eax
	movq	_IEEE80211_TX_CTL_ASSIGN_SEQ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_2
## %bb.1:
	movq	_P54_HDR_FLAG_DATA_OUT_SEQNR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
	movl	(%r13), %eax
LBB0_2:
	movq	_IEEE80211_TX_CTL_NO_PS_BUFFER@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_P54_HDR_FLAG_DATA_OUT_NOCANCEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
	movl	(%r13), %eax
LBB0_4:
	movq	_IEEE80211_TX_CTL_CLEAR_PS_FILT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	_P54_HDR_FLAG_DATA_OUT_NOCANCEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
LBB0_6:
	movq	24(%rbp), %r15
	movq	%r14, %rdi
	callq	_skb_get_queue_mapping
	movq	_P54_QUEUE_DATA@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, (%rbx)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	leal	-130(%rax), %ecx
	cmpl	$3, %ecx
	jae	LBB0_7
## %bb.11:
	movq	_IEEE80211_TX_CTL_SEND_AFTER_DTIM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_13
## %bb.12:
	movl	$0, (%r15)
	movq	_P54_QUEUE_CAB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_21
LBB0_7:
	cmpl	$128, %eax
	je	LBB0_10
## %bb.8:
	cmpl	$129, %eax
	jne	LBB0_21
## %bb.9:
	movl	$0, (%r15)
	movq	_P54_HDR_FLAG_DATA_OUT_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
	jmp	LBB0_21
LBB0_13:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %edi
	callq	_ieee80211_is_mgmt
	movl	%eax, %edi
	callq	_unlikely
	testl	%eax, %eax
	je	LBB0_19
## %bb.14:
	movl	(%r14), %edi
	callq	_ieee80211_is_probe_resp
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movl	$0, (%r15)
	movq	_P54_HDR_FLAG_DATA_OUT_TIMESTAMP@GOTPCREL(%rip), %rax
	movq	_P54_HDR_FLAG_DATA_OUT_NOCANCEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, (%r12)
	jmp	LBB0_21
LBB0_10:
	movl	$1, (%r15)
	jmp	LBB0_21
LBB0_16:
	movl	(%r14), %edi
	callq	_ieee80211_is_beacon
	testl	%eax, %eax
	je	LBB0_19
## %bb.17:
	movl	$0, (%r15)
	movq	_IEEE80211_TX_CTL_INJECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	jne	LBB0_21
## %bb.18:
	movq	_P54_HDR_FLAG_DATA_OUT_TIMESTAMP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
	movq	_P54_QUEUE_BEACON@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	_IEEE80211_MAX_TIM_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	jmp	LBB0_21
LBB0_19:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_21:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_TX_CTL_ASSIGN_SEQ,4,2 ## @IEEE80211_TX_CTL_ASSIGN_SEQ
	.comm	_P54_HDR_FLAG_DATA_OUT_SEQNR,4,2 ## @P54_HDR_FLAG_DATA_OUT_SEQNR
	.comm	_IEEE80211_TX_CTL_NO_PS_BUFFER,4,2 ## @IEEE80211_TX_CTL_NO_PS_BUFFER
	.comm	_P54_HDR_FLAG_DATA_OUT_NOCANCEL,4,2 ## @P54_HDR_FLAG_DATA_OUT_NOCANCEL
	.comm	_IEEE80211_TX_CTL_CLEAR_PS_FILT,4,2 ## @IEEE80211_TX_CTL_CLEAR_PS_FILT
	.comm	_P54_QUEUE_DATA,8,3             ## @P54_QUEUE_DATA
	.comm	_P54_HDR_FLAG_DATA_OUT_PROMISC,4,2 ## @P54_HDR_FLAG_DATA_OUT_PROMISC
	.comm	_IEEE80211_TX_CTL_SEND_AFTER_DTIM,4,2 ## @IEEE80211_TX_CTL_SEND_AFTER_DTIM
	.comm	_P54_QUEUE_CAB,8,3              ## @P54_QUEUE_CAB
	.comm	_P54_HDR_FLAG_DATA_OUT_TIMESTAMP,4,2 ## @P54_HDR_FLAG_DATA_OUT_TIMESTAMP
	.comm	_IEEE80211_TX_CTL_INJECTED,4,2  ## @IEEE80211_TX_CTL_INJECTED
	.comm	_P54_QUEUE_BEACON,8,3           ## @P54_QUEUE_BEACON
	.comm	_IEEE80211_MAX_TIM_LEN,4,2      ## @IEEE80211_MAX_TIM_LEN
	.no_dead_strip	_p54_tx_80211_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p54_tx_80211_header
_p54_tx_80211_header:                   ; @p54_tx_80211_header
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x7
	mov	x19, x6
	mov	x22, x5
	mov	x21, x4
	mov	x23, x3
	mov	x24, x2
	mov	x26, x1
	mov	x25, x0
	ldr	x28, [x29, #16]
	ldr	x27, [x1]
	ldr	w0, [x27]
	bl	_ieee80211_is_data_qos
	cmp	x0, #0
	cset	w8, ne
	str	w8, [x28]
	ldr	w8, [x24]
Lloh0:
	adrp	x9, _IEEE80211_TX_CTL_ASSIGN_SEQ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_TX_CTL_ASSIGN_SEQ@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _P54_HDR_FLAG_DATA_OUT_SEQNR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _P54_HDR_FLAG_DATA_OUT_SEQNR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	w8, [x24]
LBB0_2:
Lloh6:
	adrp	x9, _IEEE80211_TX_CTL_NO_PS_BUFFER@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEEE80211_TX_CTL_NO_PS_BUFFER@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x28, _P54_HDR_FLAG_DATA_OUT_NOCANCEL@GOTPAGE
Lloh10:
	ldr	x28, [x28, _P54_HDR_FLAG_DATA_OUT_NOCANCEL@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x28]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	w8, [x24]
LBB0_4:
Lloh11:
	adrp	x9, _IEEE80211_TX_CTL_CLEAR_PS_FILT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IEEE80211_TX_CTL_CLEAR_PS_FILT@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	ldr	w8, [x28]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_6:
	mov	x0, x26
	bl	_skb_get_queue_mapping
Lloh14:
	adrp	x8, _P54_QUEUE_DATA@GOTPAGE
Lloh15:
	ldr	x8, [x8, _P54_QUEUE_DATA@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	add	x8, x8, x0
	str	x8, [x21]
	ldr	w8, [x25]
	sub	w9, w8, #130
	cmp	w9, #3
	b.hs	LBB0_9
; %bb.7:
	ldr	w8, [x24]
Lloh17:
	adrp	x9, _IEEE80211_TX_CTL_SEND_AFTER_DTIM@GOTPAGE
Lloh18:
	ldr	x9, [x9, _IEEE80211_TX_CTL_SEND_AFTER_DTIM@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.8:
	str	wzr, [x20]
Lloh20:
	adrp	x8, _P54_QUEUE_CAB@GOTPAGE
Lloh21:
	ldr	x8, [x8, _P54_QUEUE_CAB@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	str	x8, [x21]
	b	LBB0_22
LBB0_9:
	cmp	w8, #128
	b.eq	LBB0_15
; %bb.10:
	cmp	w8, #129
	b.ne	LBB0_22
; %bb.11:
	str	wzr, [x20]
Lloh23:
	adrp	x8, _P54_HDR_FLAG_DATA_OUT_PROMISC@GOTPAGE
Lloh24:
	ldr	x8, [x8, _P54_HDR_FLAG_DATA_OUT_PROMISC@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_22
LBB0_12:
	ldr	w0, [x27]
	bl	_ieee80211_is_mgmt
	bl	_unlikely
	cbz	w0, LBB0_19
; %bb.13:
	ldr	w0, [x27]
	bl	_ieee80211_is_probe_resp
	cbz	w0, LBB0_16
; %bb.14:
	str	wzr, [x20]
Lloh26:
	adrp	x8, _P54_HDR_FLAG_DATA_OUT_TIMESTAMP@GOTPAGE
Lloh27:
	ldr	x8, [x8, _P54_HDR_FLAG_DATA_OUT_TIMESTAMP@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	ldr	w9, [x28]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
	b	LBB0_22
LBB0_15:
	mov	w8, #1
	b	LBB0_21
LBB0_16:
	ldr	w0, [x27]
	bl	_ieee80211_is_beacon
	cbz	w0, LBB0_19
; %bb.17:
	str	wzr, [x20]
	ldr	w8, [x24]
Lloh29:
	adrp	x9, _IEEE80211_TX_CTL_INJECTED@GOTPAGE
Lloh30:
	ldr	x9, [x9, _IEEE80211_TX_CTL_INJECTED@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_22
; %bb.18:
Lloh32:
	adrp	x8, _P54_HDR_FLAG_DATA_OUT_TIMESTAMP@GOTPAGE
Lloh33:
	ldr	x8, [x8, _P54_HDR_FLAG_DATA_OUT_TIMESTAMP@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh35:
	adrp	x8, _P54_QUEUE_BEACON@GOTPAGE
Lloh36:
	ldr	x8, [x8, _P54_QUEUE_BEACON@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	str	x8, [x21]
Lloh38:
	adrp	x8, _IEEE80211_MAX_TIM_LEN@GOTPAGE
Lloh39:
	ldr	x8, [x8, _IEEE80211_MAX_TIM_LEN@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	str	w8, [x22]
	b	LBB0_22
LBB0_19:
	cbz	x23, LBB0_22
; %bb.20:
	ldr	w8, [x23]
LBB0_21:
	str	w8, [x20]
LBB0_22:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_TX_CTL_ASSIGN_SEQ,4,2 ; @IEEE80211_TX_CTL_ASSIGN_SEQ
	.comm	_P54_HDR_FLAG_DATA_OUT_SEQNR,4,2 ; @P54_HDR_FLAG_DATA_OUT_SEQNR
	.comm	_IEEE80211_TX_CTL_NO_PS_BUFFER,4,2 ; @IEEE80211_TX_CTL_NO_PS_BUFFER
	.comm	_P54_HDR_FLAG_DATA_OUT_NOCANCEL,4,2 ; @P54_HDR_FLAG_DATA_OUT_NOCANCEL
	.comm	_IEEE80211_TX_CTL_CLEAR_PS_FILT,4,2 ; @IEEE80211_TX_CTL_CLEAR_PS_FILT
	.comm	_P54_QUEUE_DATA,8,3             ; @P54_QUEUE_DATA
	.comm	_P54_HDR_FLAG_DATA_OUT_PROMISC,4,2 ; @P54_HDR_FLAG_DATA_OUT_PROMISC
	.comm	_IEEE80211_TX_CTL_SEND_AFTER_DTIM,4,2 ; @IEEE80211_TX_CTL_SEND_AFTER_DTIM
	.comm	_P54_QUEUE_CAB,8,3              ; @P54_QUEUE_CAB
	.comm	_P54_HDR_FLAG_DATA_OUT_TIMESTAMP,4,2 ; @P54_HDR_FLAG_DATA_OUT_TIMESTAMP
	.comm	_IEEE80211_TX_CTL_INJECTED,4,2  ; @IEEE80211_TX_CTL_INJECTED
	.comm	_P54_QUEUE_BEACON,8,3           ; @P54_QUEUE_BEACON
	.comm	_IEEE80211_MAX_TIM_LEN,4,2      ; @IEEE80211_MAX_TIM_LEN
	.no_dead_strip	_p54_tx_80211_header
.subsections_via_symbols
