	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_tx_h_seq_no
_ath10k_tx_h_seq_no:                    ## @ath10k_tx_h_seq_no
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_IEEE80211_SKB_CB
	movl	(%rax), %eax
	movq	_IEEE80211_TX_CTL_ASSIGN_SEQ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.1:
	movq	(%rbx), %r15
	movq	(%r14), %rbx
	movl	(%rbx), %ecx
	testl	%ecx, %ecx
	jne	LBB0_3
## %bb.2:
	movl	$4096, (%rbx)                   ## imm = 0x1000
	movl	$4096, %ecx                     ## imm = 0x1000
LBB0_3:
	movq	_IEEE80211_TX_CTL_FIRST_FRAGMENT@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_5
## %bb.4:
	addl	$16, %ecx
	movl	%ecx, (%rbx)
LBB0_5:
	movq	_IEEE80211_SCTL_FRAG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	andl	%eax, (%r15)
	movl	(%rbx), %edi
	callq	_cpu_to_le16
	orl	%eax, (%r15)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	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	_IEEE80211_TX_CTL_FIRST_FRAGMENT,4,2 ## @IEEE80211_TX_CTL_FIRST_FRAGMENT
	.comm	_IEEE80211_SCTL_FRAG,4,2        ## @IEEE80211_SCTL_FRAG
	.no_dead_strip	_ath10k_tx_h_seq_no
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_tx_h_seq_no
_ath10k_tx_h_seq_no:                    ; @ath10k_tx_h_seq_no
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_IEEE80211_SKB_CB
	ldr	w8, [x0]
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.eq	LBB0_6
; %bb.1:
	ldr	x20, [x20]
	ldr	x19, [x19]
	ldr	w9, [x19]
	cbnz	w9, LBB0_3
; %bb.2:
	mov	w9, #4096
	str	w9, [x19]
LBB0_3:
Lloh3:
	adrp	x10, _IEEE80211_TX_CTL_FIRST_FRAGMENT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IEEE80211_TX_CTL_FIRST_FRAGMENT@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_5
; %bb.4:
	add	w8, w9, #16
	str	w8, [x19]
LBB0_5:
Lloh6:
	adrp	x8, _IEEE80211_SCTL_FRAG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IEEE80211_SCTL_FRAG@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	ldr	w8, [x20]
	and	w8, w8, w0
	str	w8, [x20]
	ldr	w0, [x19]
	bl	_cpu_to_le16
	ldr	w8, [x20]
	orr	w8, w8, w0
	str	w8, [x20]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_TX_CTL_ASSIGN_SEQ,4,2 ; @IEEE80211_TX_CTL_ASSIGN_SEQ
	.comm	_IEEE80211_TX_CTL_FIRST_FRAGMENT,4,2 ; @IEEE80211_TX_CTL_FIRST_FRAGMENT
	.comm	_IEEE80211_SCTL_FRAG,4,2        ; @IEEE80211_SCTL_FRAG
	.no_dead_strip	_ath10k_tx_h_seq_no
.subsections_via_symbols
