	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function start_tx
_start_tx:                              ## @start_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	movq	%rax, %r13
	movq	_ETH_ZLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx), %r14
	cmpq	%r14, %rax
	cmovgq	%rax, %r14
	movq	64(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	72(%r13), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	callq	*%rax
	testl	%eax, %eax
	je	LBB0_3
LBB0_4:
	movq	(%r13), %rax
	movq	_STATION_STATE_READY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.5:
	leaq	32(%r12), %r15
	movq	%r15, %rdi
	callq	_spin_lock_bh
	addq	$36, %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	leal	18(%r14), %esi
	movq	%r13, %rdi
	movl	%esi, -64(%rbp)                 ## 4-byte Spill
	callq	_find_tx_buff
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	_IEEE80211_FTYPE_DATA@GOTPCREL(%rip), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, -88(%rbp)
	xorl	%ebx, %ebx
	cmpq	$0, 56(%r13)
	je	LBB0_9
## %bb.8:
	movq	_IEEE80211_FCTL_PROTECTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
LBB0_9:
	orl	(%rax), %ebx
	movq	8(%r13), %rax
	movq	_IW_MODE_ADHOC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	leaq	-96(%rbp), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_copy_from_linear_data
	leaq	-100(%rbp), %rdi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	movl	(%r15), %edx
	callq	_memcpy
	leaq	-104(%rbp), %rdi
	movq	16(%r13), %rsi
	movl	(%r15), %edx
	callq	_memcpy
	cmpq	$0, 48(%r13)
	jne	LBB0_13
	jmp	LBB0_14
LBB0_3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	16(%rax)
	jmp	LBB0_15
LBB0_6:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	incl	12(%rbx)
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	movq	%rbx, %rdi
	callq	_netif_stop_queue
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_11:
	movq	_IEEE80211_FCTL_TODS@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	leaq	-96(%rbp), %rdi
	movq	24(%r13), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	callq	_memcpy
	leaq	-100(%rbp), %rdi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	movl	(%r15), %edx
	callq	_memcpy
	leaq	-104(%rbp), %rsi
	movl	(%r15), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_copy_from_linear_data
	cmpq	$0, 48(%r13)
	je	LBB0_14
LBB0_13:
	leaq	-108(%rbp), %rdi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	_start_tx.SNAP_RFC1024(%rip), %rsi
	callq	_memcpy
LBB0_14:
	movl	%ebx, %edi
	callq	_cpu_to_le16
	movl	%eax, -112(%rbp)
	movq	_DATA_FRAME_WS_HEADER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-112(%rbp), %rdx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %esi
	callq	_atmel_copy_to_card
	movq	_DATA_FRAME_WS_HEADER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r15d, %esi
	movq	%rbx, %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdx
	addq	$12, %rdx
	leal	-12(%r14), %ebx
	movl	%ebx, %ecx
	callq	_atmel_copy_to_card
	movq	_DATA_FRAME_WS_HEADER_SIZE@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	addl	%ebx, 40(%r13)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rax
	movzbl	(%rax), %esi
	andl	$1, %esi
	movq	_TX_PACKET_TYPE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rdi
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	movl	%r15d, %ecx
	callq	_tx_update_descriptor
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	%r14d, 8(%rax)
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_bh
LBB0_15:
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @start_tx.SNAP_RFC1024
_start_tx.SNAP_RFC1024:
	.long	170                             ## 0xaa
	.long	170                             ## 0xaa
	.long	3                               ## 0x3
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0

	.comm	_ETH_ZLEN,8,3                   ## @ETH_ZLEN
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_STATION_STATE_READY,8,3        ## @STATION_STATE_READY
	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.comm	_IEEE80211_FTYPE_DATA,4,2       ## @IEEE80211_FTYPE_DATA
	.comm	_IEEE80211_FCTL_PROTECTED,4,2   ## @IEEE80211_FCTL_PROTECTED
	.comm	_IW_MODE_ADHOC,8,3              ## @IW_MODE_ADHOC
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_IEEE80211_FCTL_TODS,4,2        ## @IEEE80211_FCTL_TODS
	.comm	_DATA_FRAME_WS_HEADER_SIZE,4,2  ## @DATA_FRAME_WS_HEADER_SIZE
	.comm	_TX_PACKET_TYPE_DATA,4,2        ## @TX_PACKET_TYPE_DATA
	.no_dead_strip	_start_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function start_tx
_start_tx:                              ; @start_tx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x1
	mov	x20, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x21, x0
Lloh0:
	adrp	x8, _ETH_ZLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ZLEN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x20]
	cmp	x8, x9
	csel	x27, x8, x9, gt
	ldr	x0, [x0, #64]
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x21, #72]
	cbz	x8, LBB0_3
; %bb.2:
	blr	x8
	cbz	w0, LBB0_7
LBB0_3:
	ldr	x8, [x21]
Lloh3:
	adrp	x9, _STATION_STATE_READY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _STATION_STATE_READY@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.4:
	add	x22, x21, #32
	mov	x0, x22
	bl	_spin_lock_bh
	add	x23, x21, #36
	mov	x0, x23
	bl	_spin_lock_irqsave
	add	w24, w27, #18
	mov	x0, x21
	mov	x1, x24
	bl	_find_tx_buff
	cbz	w0, LBB0_8
; %bb.5:
	mov	x25, x0
	str	x22, [sp]                       ; 8-byte Folded Spill
Lloh6:
	adrp	x8, _IEEE80211_FTYPE_DATA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IEEE80211_FTYPE_DATA@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	stp	xzr, xzr, [sp, #32]
Lloh9:
	adrp	x9, _IEEE80211_FCTL_PROTECTED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IEEE80211_FCTL_PROTECTED@GOTPAGEOFF]
	ldr	x10, [x21, #56]
Lloh11:
	ldr	w9, [x9]
	cmp	x10, #0
	csel	w9, wzr, w9, eq
	orr	w26, w9, w8
	ldr	x8, [x21, #8]
Lloh12:
	adrp	x9, _IW_MODE_ADHOC@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IW_MODE_ADHOC@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
Lloh15:
	adrp	x28, _ETH_ALEN@GOTPAGE
Lloh16:
	ldr	x28, [x28, _ETH_ALEN@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.6:
	add	x22, sp, #8
	add	x1, x22, #16
	ldr	w2, [x28]
	mov	x0, x20
	bl	_skb_copy_from_linear_data
	add	x0, x22, #12
	ldr	x1, [x19]
	ldr	w2, [x28]
	bl	_memcpy
	add	x0, x22, #8
	ldr	x1, [x21, #16]
	ldr	w2, [x28]
	bl	_memcpy
	ldr	x8, [x21, #48]
	cbnz	x8, LBB0_10
	b	LBB0_11
LBB0_7:
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	b	LBB0_12
LBB0_8:
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	mov	x0, x23
	bl	_spin_unlock_irqrestore
	mov	x0, x22
	bl	_spin_unlock_bh
	mov	x0, x19
	bl	_netif_stop_queue
Lloh17:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
	b	LBB0_13
LBB0_9:
Lloh19:
	adrp	x8, _IEEE80211_FCTL_TODS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IEEE80211_FCTL_TODS@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	orr	w26, w8, w26
	add	x22, sp, #8
	add	x0, x22, #16
	ldr	x1, [x21, #24]
	ldr	w2, [x28]
	bl	_memcpy
	add	x0, x22, #12
	ldr	x1, [x19]
	ldr	w2, [x28]
	bl	_memcpy
	add	x1, x22, #8
	ldr	w2, [x28]
	mov	x0, x20
	bl	_skb_copy_from_linear_data
	ldr	x8, [x21, #48]
	cbz	x8, LBB0_11
LBB0_10:
	add	x8, sp, #8
	orr	x0, x8, #0x4
	ldr	w2, [x28]
Lloh22:
	adrp	x1, _start_tx.SNAP_RFC1024@PAGE
Lloh23:
	add	x1, x1, _start_tx.SNAP_RFC1024@PAGEOFF
	bl	_memcpy
LBB0_11:
	mov	x0, x26
	bl	_cpu_to_le16
	str	w0, [sp, #8]
Lloh24:
	adrp	x22, _DATA_FRAME_WS_HEADER_SIZE@GOTPAGE
Lloh25:
	ldr	x22, [x22, _DATA_FRAME_WS_HEADER_SIZE@GOTPAGEOFF]
	ldr	w3, [x22]
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x25
	bl	_atmel_copy_to_card
	ldr	w8, [x22]
	add	w1, w8, w25
	ldr	x8, [x20, #8]
	add	x2, x8, #12
	sub	w26, w27, #12
	mov	x0, x19
	mov	x3, x26
	bl	_atmel_copy_to_card
	ldr	w8, [x22]
	ldr	w9, [x21, #40]
	add	w8, w8, w26
	add	w8, w8, w9
	str	w8, [x21, #40]
	ldr	x8, [x20, #8]
	ldrb	w8, [x8]
	and	w1, w8, #0x1
Lloh26:
	adrp	x8, _TX_PACKET_TYPE_DATA@GOTPAGE
Lloh27:
	ldr	x8, [x8, _TX_PACKET_TYPE_DATA@GOTPAGEOFF]
Lloh28:
	ldr	w4, [x8]
	mov	x0, x21
	mov	x2, x24
	mov	x3, x25
	bl	_tx_update_descriptor
	ldr	w8, [x19, #8]
	add	w8, w8, w27
	str	w8, [x19, #8]
	mov	x0, x23
	bl	_spin_unlock_irqrestore
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	bl	_spin_unlock_bh
LBB0_12:
	mov	x0, x20
	bl	_dev_kfree_skb
Lloh29:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @start_tx.SNAP_RFC1024
_start_tx.SNAP_RFC1024:
	.long	170                             ; 0xaa
	.long	170                             ; 0xaa
	.long	3                               ; 0x3
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0

	.comm	_ETH_ZLEN,8,3                   ; @ETH_ZLEN
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_STATION_STATE_READY,8,3        ; @STATION_STATE_READY
	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_IEEE80211_FTYPE_DATA,4,2       ; @IEEE80211_FTYPE_DATA
	.comm	_IEEE80211_FCTL_PROTECTED,4,2   ; @IEEE80211_FCTL_PROTECTED
	.comm	_IW_MODE_ADHOC,8,3              ; @IW_MODE_ADHOC
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_IEEE80211_FCTL_TODS,4,2        ; @IEEE80211_FCTL_TODS
	.comm	_DATA_FRAME_WS_HEADER_SIZE,4,2  ; @DATA_FRAME_WS_HEADER_SIZE
	.comm	_TX_PACKET_TYPE_DATA,4,2        ; @TX_PACKET_TYPE_DATA
	.no_dead_strip	_start_tx
.subsections_via_symbols
