	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emac_start_xmit
_emac_start_xmit:                       ## @emac_start_xmit
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	movl	(%rax), %ebx
	andl	$3, %ebx
	movl	$1, %eax
	cmpl	$3, %ebx
	je	LBB0_4
## %bb.1:
	movq	%r12, %r13
	addq	$4, %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movq	_EMAC_TX_INS_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r13), %rsi
	xorl	%r15d, %r15d
	cmpl	$1, %ebx
	sete	%r15b
	movq	_EMAC_TX_CTL0_REG@GOTPCREL(%rip), %rax
	cmoveq	_EMAC_TX_CTL1_REG@GOTPCREL(%rip), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_EMAC_TX_PL0_REG@GOTPCREL(%rip), %rbx
	cmoveq	_EMAC_TX_PL1_REG@GOTPCREL(%rip), %rbx
	movl	%r15d, %edi
	callq	_writel
	movq	_EMAC_TX_IO_DATA_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	(%r14), %edx
	movl	4(%r14), %esi
	addq	8(%r13), %rdi
	callq	_emac_outblk_32bit
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	(%r14), %edi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	addl	%edi, (%r14)
	movl	$1, %eax
	movl	%r15d, %ecx
	shll	%cl, %eax
	orl	%eax, (%r13)
	movq	(%rbx), %rsi
	addq	8(%r13), %rsi
	callq	_writel
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rdi
	addq	8(%r13), %rdi
	callq	_readl
	orl	$1, %eax
	movq	(%rbx), %rsi
	addq	8(%r13), %rsi
	movl	%eax, %edi
	callq	_writel
	movq	%r14, %rdi
	callq	_netif_trans_update
	movl	(%r13), %eax
	notl	%eax
	testb	$3, %al
	jne	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_netif_stop_queue
LBB0_3:
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_consume_skb_any
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EMAC_TX_INS_REG,8,3            ## @EMAC_TX_INS_REG
	.comm	_EMAC_TX_IO_DATA_REG,8,3        ## @EMAC_TX_IO_DATA_REG
	.comm	_EMAC_TX_PL0_REG,8,3            ## @EMAC_TX_PL0_REG
	.comm	_EMAC_TX_CTL0_REG,8,3           ## @EMAC_TX_CTL0_REG
	.comm	_EMAC_TX_PL1_REG,8,3            ## @EMAC_TX_PL1_REG
	.comm	_EMAC_TX_CTL1_REG,8,3           ## @EMAC_TX_CTL1_REG
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_emac_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emac_start_xmit
_emac_start_xmit:                       ; @emac_start_xmit
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_netdev_priv
	ldr	w8, [x0]
	and	w24, w8, #0x3
	mov	w23, #1
	cmp	w24, #3
	b.eq	LBB0_4
; %bb.1:
	mov	x22, x0
	add	x21, x0, #4
	mov	x0, x21
	bl	_spin_lock_irqsave
	cmp	w24, #1
	cset	w24, eq
	ldr	x8, [x22, #8]
Lloh0:
	adrp	x9, _EMAC_TX_INS_REG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EMAC_TX_INS_REG@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
Lloh3:
	adrp	x8, _EMAC_TX_CTL0_REG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EMAC_TX_CTL0_REG@GOTPAGEOFF]
Lloh5:
	adrp	x9, _EMAC_TX_CTL1_REG@GOTPAGE
Lloh6:
	ldr	x9, [x9, _EMAC_TX_CTL1_REG@GOTPAGEOFF]
Lloh7:
	adrp	x10, _EMAC_TX_PL1_REG@GOTPAGE
Lloh8:
	ldr	x10, [x10, _EMAC_TX_PL1_REG@GOTPAGEOFF]
	csel	x25, x9, x8, eq
Lloh9:
	adrp	x8, _EMAC_TX_PL0_REG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EMAC_TX_PL0_REG@GOTPAGEOFF]
	csel	x26, x10, x8, eq
	mov	x0, x24
	bl	_writel
	ldr	x8, [x22, #8]
Lloh11:
	adrp	x9, _EMAC_TX_IO_DATA_REG@GOTPAGE
Lloh12:
	ldr	x9, [x9, _EMAC_TX_IO_DATA_REG@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x0, x9, x8
	ldp	w2, w1, [x19]
	bl	_emac_outblk_32bit
	ldr	w0, [x19]
	ldr	w8, [x20]
	add	w8, w8, w0
	str	w8, [x20]
	lsl	w8, w23, w24
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
	ldr	x8, [x22, #8]
	ldr	x9, [x26]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x22, #8]
	ldr	x9, [x25]
	add	x0, x9, x8
	bl	_readl
	orr	w0, w0, #0x1
	ldr	x8, [x22, #8]
	ldr	x9, [x25]
	add	x1, x9, x8
	bl	_writel
	mov	x0, x20
	bl	_netif_trans_update
	ldr	w8, [x22]
	mvn	w8, w8
	tst	w8, #0x3
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_netif_stop_queue
LBB0_3:
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	bl	_dev_consume_skb_any
Lloh14:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh16:
	ldr	w23, [x8]
LBB0_4:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_EMAC_TX_INS_REG,8,3            ; @EMAC_TX_INS_REG
	.comm	_EMAC_TX_IO_DATA_REG,8,3        ; @EMAC_TX_IO_DATA_REG
	.comm	_EMAC_TX_PL0_REG,8,3            ; @EMAC_TX_PL0_REG
	.comm	_EMAC_TX_CTL0_REG,8,3           ; @EMAC_TX_CTL0_REG
	.comm	_EMAC_TX_PL1_REG,8,3            ; @EMAC_TX_PL1_REG
	.comm	_EMAC_TX_CTL1_REG,8,3           ; @EMAC_TX_CTL1_REG
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_emac_start_xmit
.subsections_via_symbols
