	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bigmac_start_xmit
_bigmac_start_xmit:                     ## @bigmac_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, %r13
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	movq	40(%rax), %rdi
	movl	(%r13), %ebx
	movl	4(%r13), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edx
	callq	_dma_map_single
	movl	%eax, %r15d
	leaq	16(%r12), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irq
	movl	(%r12), %eax
	movslq	%eax, %r14
	movq	%r14, %rdi
	callq	_DTX
	movq	_TXD_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	24(%r12), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx,%r14,8)
	movq	32(%r12), %rax
	movq	%r13, (%rax,%r14,8)
	movq	24(%r12), %rax
	movq	(%rax), %rax
	movl	%r15d, 4(%rax,%r14,8)
	movq	_TXD_OWN@GOTPCREL(%rip), %rcx
	movq	_TXD_SOP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_TXD_EOP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_TXD_LENGTH@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	orl	%edx, %ebx
	movl	%ebx, (%rax,%r14,8)
	movl	%r14d, %edi
	callq	_NEXT_TX
	movl	%eax, (%r12)
	movq	%r12, %rdi
	callq	_TX_BUFFS_AVAIL
	testq	%rax, %rax
	jg	LBB0_2
## %bb.1:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_netif_stop_queue
LBB0_2:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irq
	movq	_CREG_CTRL_TWAKEUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CREG_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r12), %rsi
	callq	_sbus_writel
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_TXD_UPDATE,4,2                 ## @TXD_UPDATE
	.comm	_TXD_OWN,4,2                    ## @TXD_OWN
	.comm	_TXD_SOP,4,2                    ## @TXD_SOP
	.comm	_TXD_EOP,4,2                    ## @TXD_EOP
	.comm	_TXD_LENGTH,4,2                 ## @TXD_LENGTH
	.comm	_CREG_CTRL_TWAKEUP,4,2          ## @CREG_CTRL_TWAKEUP
	.comm	_CREG_CTRL,8,3                  ## @CREG_CTRL
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_bigmac_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bigmac_start_xmit
_bigmac_start_xmit:                     ; @bigmac_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	x22, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x19, x0
	ldr	x0, [x0, #40]
	ldp	w23, w1, [x22]
Lloh0:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x2, x23
	bl	_dma_map_single
	mov	x24, x0
	add	x21, x19, #16
	mov	x0, x21
	bl	_spin_lock_irq
	ldr	w25, [x19]
	sxtw	x0, w25
	bl	_DTX
Lloh3:
	adrp	x8, _TXD_UPDATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TXD_UPDATE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldp	x9, x10, [x19, #24]
	ldr	x9, [x9]
	sbfiz	x11, x25, #3, #32
	str	w8, [x9, x11]
	str	x22, [x10, x11]
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	add	x8, x8, x11
	str	w24, [x8, #4]
Lloh6:
	adrp	x9, _TXD_OWN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TXD_OWN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _TXD_SOP@GOTPAGE
Lloh10:
	ldr	x10, [x10, _TXD_SOP@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh12:
	adrp	x10, _TXD_EOP@GOTPAGE
Lloh13:
	ldr	x10, [x10, _TXD_EOP@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh15:
	adrp	x10, _TXD_LENGTH@GOTPAGE
Lloh16:
	ldr	x10, [x10, _TXD_LENGTH@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	and	w10, w10, w23
	orr	w9, w9, w10
	str	w9, [x8]
	mov	x0, x25
	bl	_NEXT_TX
	str	w0, [x19]
	mov	x0, x19
	bl	_TX_BUFFS_AVAIL
	cmp	x0, #0
	b.gt	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_netif_stop_queue
LBB0_2:
	mov	x0, x21
	bl	_spin_unlock_irq
Lloh18:
	adrp	x8, _CREG_CTRL_TWAKEUP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CREG_CTRL_TWAKEUP@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
Lloh21:
	adrp	x9, _CREG_CTRL@GOTPAGE
Lloh22:
	ldr	x9, [x9, _CREG_CTRL@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_sbus_writel
Lloh24:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	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	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_TXD_UPDATE,4,2                 ; @TXD_UPDATE
	.comm	_TXD_OWN,4,2                    ; @TXD_OWN
	.comm	_TXD_SOP,4,2                    ; @TXD_SOP
	.comm	_TXD_EOP,4,2                    ; @TXD_EOP
	.comm	_TXD_LENGTH,4,2                 ; @TXD_LENGTH
	.comm	_CREG_CTRL_TWAKEUP,4,2          ; @CREG_CTRL_TWAKEUP
	.comm	_CREG_CTRL,8,3                  ; @CREG_CTRL
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_bigmac_start_xmit
.subsections_via_symbols
