	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mac80211_hwsim_tx
_mac80211_hwsim_tx:                     ## @mac80211_hwsim_tx
	.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	%rdx, %r15
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	8(%rdi), %r12
	movq	%rdx, %rdi
	callq	_IEEE80211_SKB_CB
	movq	%rax, %r14
	movq	8(%r15), %r13
	xorl	%edi, %edi
	cmpl	$10, (%r15)
	setl	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_9
## %bb.1:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	cmpl	$0, 48(%r12)
	je	LBB0_4
## %bb.2:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$4, (%rcx)
	jne	LBB0_5
## %bb.3:
	leaq	24(%r12), %rax
	jmp	LBB0_7
LBB0_4:
	leaq	40(%r12), %rax
	jmp	LBB0_6
LBB0_5:
	movq	16(%rcx), %rax
	movl	(%rax), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_23
LBB0_6:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
LBB0_7:
	movq	(%rax), %r13
LBB0_8:
	xorl	%edi, %edi
	testq	%r13, %r13
	sete	%dil
	movl	(%rcx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_WARN
	testq	%rax, %rax
	je	LBB0_10
LBB0_9:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_free_txskb           ## TAILCALL
LBB0_10:
	cmpq	$0, 32(%r12)
	je	LBB0_12
## %bb.11:
	cmpq	$0, 24(%r12)
	je	LBB0_31
LBB0_12:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.13:
	callq	_hwsim_check_magic
LBB0_14:
	movl	(%r14), %edi
	testl	%edi, %edi
	je	LBB0_16
## %bb.15:
	callq	_hwsim_check_sta_magic
LBB0_16:
	movq	_SUPPORTS_RC_TABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ieee80211_hw_check
	testq	%rax, %rax
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_18
## %bb.17:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	movq	16(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%r14), %r13d
	movq	%rdi, %r14
	callq	_ARRAY_SIZE
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	%r14, %rcx
	movl	%eax, %r8d
	callq	_ieee80211_get_tx_rates
LBB0_18:
	cmpl	$32, (%r15)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	jl	LBB0_21
## %bb.19:
	movl	4(%rax), %edi
	callq	_ieee80211_is_probe_resp
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	8(%r15), %r14
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_ieee80211_get_tx_rate
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_mac80211_hwsim_get_tsf_raw
	movq	%rax, %rcx
	addq	16(%r12), %rcx
	movl	$1920, %eax                     ## imm = 0x780
	xorl	%edx, %edx
	idivl	(%r13)
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movslq	%eax, %rdi
	addq	%rcx, %rdi
	callq	_cpu_to_le64
	movl	%eax, (%r14)
LBB0_21:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_mac80211_hwsim_monitor_rx
	movl	8(%r12), %edi
	callq	_READ_ONCE
	testq	%rax, %rax
	je	LBB0_24
## %bb.22:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mac80211_hwsim_tx_frame_nl     ## TAILCALL
LBB0_23:
	xorl	%r13d, %r13d
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_24:
	incl	4(%r12)
	movl	(%r15), %eax
	addl	%eax, (%r12)
	movq	%rbx, %r14
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r13, %r12
	movq	%r13, %rdx
	callq	_mac80211_hwsim_tx_frame_no_nl
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_27
## %bb.25:
	cmpl	$16, (%r15)
	jl	LBB0_27
## %bb.26:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_mac80211_hwsim_monitor_ack
LBB0_27:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_ieee80211_tx_info_clear_status
	movq	8(%rbx), %rax
	movl	$1, (%rax)
	movl	$-1, 12(%rax)
	movl	4(%rbx), %eax
	movq	_IEEE80211_TX_CTL_NO_ACK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_30
## %bb.28:
	testl	%r13d, %r13d
	je	LBB0_30
## %bb.29:
	movq	_IEEE80211_TX_STAT_ACK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 4(%rbx)
LBB0_30:
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_tx_status_irqsafe    ## TAILCALL
LBB0_31:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wiphy_dbg
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TX w/o channel - queue = %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Trying to TX when idle - reject\n"

	.comm	_SUPPORTS_RC_TABLE,4,2          ## @SUPPORTS_RC_TABLE
	.comm	_IEEE80211_TX_CTL_NO_ACK,4,2    ## @IEEE80211_TX_CTL_NO_ACK
	.comm	_IEEE80211_TX_STAT_ACK,4,2      ## @IEEE80211_TX_STAT_ACK
	.no_dead_strip	_mac80211_hwsim_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mac80211_hwsim_tx
_mac80211_hwsim_tx:                     ; @mac80211_hwsim_tx
	.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	x19, x2
	mov	x23, x1
	mov	x20, x0
	ldr	x27, [x0, #8]
	mov	x0, x2
	bl	_IEEE80211_SKB_CB
	mov	x21, x0
	ldr	x26, [x19, #8]
	ldr	w8, [x19]
	cmp	w8, #10
	cset	w0, lt
	bl	_WARN_ON
	cbnz	x0, LBB0_8
; %bb.1:
	ldr	w8, [x27, #48]
	cbz	w8, LBB0_4
; %bb.2:
	ldr	w8, [x21]
	cmp	w8, #4
	b.ne	LBB0_5
; %bb.3:
	add	x0, x27, #24
	b	LBB0_6
LBB0_4:
	add	x0, x27, #40
	b	LBB0_6
LBB0_5:
	ldr	x8, [x21, #16]
	ldr	w0, [x8]
	bl	_rcu_dereference
	cbz	x0, LBB0_22
LBB0_6:
	ldr	x22, [x0]
LBB0_7:
	cmp	x22, #0
	cset	w0, eq
	ldr	w2, [x21]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_WARN
	cbz	x0, LBB0_9
LBB0_8:
	mov	x0, x20
	mov	x1, x19
	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
	b	_ieee80211_free_txskb
LBB0_9:
	ldr	x8, [x27, #32]
	cbz	x8, LBB0_11
; %bb.10:
	ldr	x8, [x27, #24]
	cbz	x8, LBB0_30
LBB0_11:
	ldr	x0, [x21, #16]
	cbz	x0, LBB0_13
; %bb.12:
	bl	_hwsim_check_magic
LBB0_13:
	ldr	w0, [x23]
	cbz	w0, LBB0_15
; %bb.14:
	bl	_hwsim_check_sta_magic
LBB0_15:
Lloh2:
	adrp	x8, _SUPPORTS_RC_TABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SUPPORTS_RC_TABLE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ieee80211_hw_check
	cbz	x0, LBB0_17
; %bb.16:
	ldr	w23, [x23]
	ldp	x25, x24, [x21, #8]
	mov	x0, x25
	bl	_ARRAY_SIZE
	mov	x4, x0
	mov	x0, x24
	mov	x1, x23
	mov	x2, x19
	mov	x3, x25
	bl	_ieee80211_get_tx_rates
LBB0_17:
	ldr	w8, [x19]
	cmp	w8, #32
	b.lt	LBB0_20
; %bb.18:
	ldr	w0, [x26, #4]
	bl	_ieee80211_is_probe_resp
	cbz	x0, LBB0_20
; %bb.19:
	ldr	x24, [x19, #8]
	mov	x0, x20
	mov	x1, x21
	bl	_ieee80211_get_tx_rate
	mov	x23, x0
	bl	_mac80211_hwsim_get_tsf_raw
	ldr	x8, [x27, #16]
	add	x8, x8, x0
	ldr	w9, [x23]
	mov	w10, #1920
	sdiv	w9, w10, w9
	add	x0, x8, w9, sxtw
	bl	_cpu_to_le64
	str	w0, [x24]
LBB0_20:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_mac80211_hwsim_monitor_rx
	ldr	w0, [x27, #8]
	bl	_READ_ONCE
	cbz	x0, LBB0_23
; %bb.21:
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	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
	b	_mac80211_hwsim_tx_frame_nl
LBB0_22:
	mov	x22, #0
	b	LBB0_7
LBB0_23:
	ldr	d0, [x27]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x19]
	add.2s	v0, v0, v1
	str	d0, [x27]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_mac80211_hwsim_tx_frame_no_nl
	mov	x23, x0
	cbz	w0, LBB0_26
; %bb.24:
	ldr	w8, [x19]
	cmp	w8, #16
	b.lt	LBB0_26
; %bb.25:
	ldr	w1, [x26]
	mov	x0, x22
	bl	_mac80211_hwsim_monitor_ack
LBB0_26:
	mov	x0, x21
	bl	_ieee80211_tx_info_clear_status
	ldr	x8, [x21, #8]
	mov	w9, #1
	str	w9, [x8]
	mov	w9, #-1
	str	w9, [x8, #12]
	ldr	w8, [x21, #4]
Lloh5:
	adrp	x9, _IEEE80211_TX_CTL_NO_ACK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IEEE80211_TX_CTL_NO_ACK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_29
; %bb.27:
	cbz	w23, LBB0_29
; %bb.28:
Lloh8:
	adrp	x9, _IEEE80211_TX_STAT_ACK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IEEE80211_TX_STAT_ACK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x21, #4]
LBB0_29:
	mov	x0, x20
	mov	x1, x19
	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
	b	_ieee80211_tx_status_irqsafe
LBB0_30:
	ldr	w0, [x20]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wiphy_dbg
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TX w/o channel - queue = %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Trying to TX when idle - reject\n"

	.comm	_SUPPORTS_RC_TABLE,4,2          ; @SUPPORTS_RC_TABLE
	.comm	_IEEE80211_TX_CTL_NO_ACK,4,2    ; @IEEE80211_TX_CTL_NO_ACK
	.comm	_IEEE80211_TX_STAT_ACK,4,2      ; @IEEE80211_TX_STAT_ACK
	.no_dead_strip	_mac80211_hwsim_tx
.subsections_via_symbols
