	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atl1e_xmit_frame
_atl1e_xmit_frame:                      ## @atl1e_xmit_frame
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	___AT_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	cmpq	$0, (%r13)
	setle	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
LBB0_1:
	movq	%r13, %rdi
	callq	_dev_kfree_skb_any
LBB0_14:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r13, %rdi
	callq	_atl1e_cal_tdp_req
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_atl1e_tpd_avail
	cmpq	%r15, %rax
	jge	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_netif_stop_queue
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_5:
	movq	%r14, %rdi
	callq	_atl1e_get_tpd
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_skb_vlan_tag_present
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%r13, %rdi
	callq	_skb_vlan_tag_get
	movq	_TPD_INS_VL_TAG_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	orl	%edx, (%r12)
	movq	%rax, %rdi
	callq	_AT_VLAN_TAG_TO_TPD_TAG
LBB0_7:
	movq	8(%r13), %rbx
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %rbx
	jne	LBB0_9
## %bb.8:
	movq	_TPD_VL_TAGGED_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	orl	%eax, (%r12)
LBB0_9:
	movq	%r13, %rdi
	callq	_skb_network_offset
	movq	_ETH_HLEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.10:
	movq	_TPD_ETHTYPE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	orl	%eax, (%r12)
LBB0_11:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_atl1e_tso_csum
	testq	%rax, %rax
	jne	LBB0_1
## %bb.12:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_atl1e_tx_map
	testq	%rax, %rax
	jne	LBB0_1
## %bb.13:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_atl1e_tx_queue
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	___AT_DOWN,4,2                  ## @__AT_DOWN
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.comm	_TPD_INS_VL_TAG_SHIFT,4,2       ## @TPD_INS_VL_TAG_SHIFT
	.comm	_TPD_VLANTAG_MASK,8,3           ## @TPD_VLANTAG_MASK
	.comm	_TPD_VLAN_SHIFT,8,3             ## @TPD_VLAN_SHIFT
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
	.comm	_TPD_VL_TAGGED_SHIFT,4,2        ## @TPD_VL_TAGGED_SHIFT
	.comm	_ETH_HLEN,8,3                   ## @ETH_HLEN
	.comm	_TPD_ETHTYPE_SHIFT,4,2          ## @TPD_ETHTYPE_SHIFT
	.no_dead_strip	_atl1e_xmit_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atl1e_xmit_frame
_atl1e_xmit_frame:                      ; @atl1e_xmit_frame
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x1
	mov	x19, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, ___AT_DOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___AT_DOWN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	cmp	x8, #1
	cset	w0, lt
	bl	_unlikely
	cbz	x0, LBB0_5
LBB0_2:
	mov	x0, x19
	bl	_dev_kfree_skb_any
LBB0_3:
Lloh3:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	bl	_atl1e_cal_tdp_req
	mov	x21, x0
	mov	x0, x20
	bl	_atl1e_tpd_avail
	cmp	x0, x21
	b.ge	LBB0_7
; %bb.6:
	mov	x0, x22
	bl	_netif_stop_queue
Lloh5:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
	b	LBB0_4
LBB0_7:
	mov	x0, x20
	bl	_atl1e_get_tpd
	mov	x22, x0
	mov	x0, x19
	bl	_skb_vlan_tag_present
	cbz	x0, LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_skb_vlan_tag_get
Lloh7:
	adrp	x8, _TPD_INS_VL_TAG_SHIFT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TPD_INS_VL_TAG_SHIFT@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
	bl	_AT_VLAN_TAG_TO_TPD_TAG
LBB0_9:
	ldr	x23, [x19, #8]
Lloh10:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_htons
	cmp	x23, x0
	b.ne	LBB0_11
; %bb.10:
Lloh13:
	adrp	x8, _TPD_VL_TAGGED_SHIFT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TPD_VL_TAGGED_SHIFT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
LBB0_11:
	mov	x0, x19
	bl	_skb_network_offset
Lloh16:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_13
; %bb.12:
Lloh19:
	adrp	x8, _TPD_ETHTYPE_SHIFT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _TPD_ETHTYPE_SHIFT@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
LBB0_13:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_atl1e_tso_csum
	cbnz	x0, LBB0_2
; %bb.14:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_atl1e_tx_map
	cbnz	x0, LBB0_2
; %bb.15:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_atl1e_tx_queue
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	___AT_DOWN,4,2                  ; @__AT_DOWN
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_TPD_INS_VL_TAG_SHIFT,4,2       ; @TPD_INS_VL_TAG_SHIFT
	.comm	_TPD_VLANTAG_MASK,8,3           ; @TPD_VLANTAG_MASK
	.comm	_TPD_VLAN_SHIFT,8,3             ; @TPD_VLAN_SHIFT
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
	.comm	_TPD_VL_TAGGED_SHIFT,4,2        ; @TPD_VL_TAGGED_SHIFT
	.comm	_ETH_HLEN,8,3                   ; @ETH_HLEN
	.comm	_TPD_ETHTYPE_SHIFT,4,2          ; @TPD_ETHTYPE_SHIFT
	.no_dead_strip	_atl1e_xmit_frame
.subsections_via_symbols
