	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elp_start_xmit
_elp_start_xmit:                        ## @elp_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_spin_lock_irqsave
	movq	%rbx, %rdi
	callq	_check_3c505_dma
	movq	_elp_debug@GOTPCREL(%rip), %r12
	cmpl	$3, (%r12)
	jl	LBB0_2
## %bb.1:
	movl	4(%rbx), %esi
	movl	(%r15), %edx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_2:
	movq	%rbx, %rdi
	callq	_netif_stop_queue
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_send_packet
	movl	(%r12), %ecx
	testl	%eax, %eax
	je	LBB0_3
## %bb.6:
	cmpl	$3, %ecx
	jl	LBB0_8
## %bb.7:
	movl	4(%rbx), %esi
	movl	(%r15), %edx
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_8:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_prime_rx
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	callq	_netif_start_queue
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_3:
	cmpl	$2, %ecx
	jl	LBB0_5
## %bb.4:
	movl	4(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_5:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_elp_debug,4,2                  ## @elp_debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: request to send packet of length %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s: failed to transmit packet\n"

	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
L_.str.2:                               ## @.str.2
	.asciz	"%s: packet of length %d sent\n"

	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_elp_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elp_start_xmit
_elp_start_xmit:                        ; @elp_start_xmit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x21, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_check_3c505_dma
Lloh0:
	adrp	x22, _elp_debug@GOTPAGE
Lloh1:
	ldr	x22, [x22, _elp_debug@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #3
	b.lt	LBB0_2
; %bb.1:
	ldr	w1, [x19, #4]
	ldr	x8, [x21]
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
LBB0_2:
	mov	x0, x19
	bl	_netif_stop_queue
	mov	x0, x19
	mov	x1, x21
	bl	_send_packet
	ldr	w8, [x22]
	cbz	w0, LBB0_6
; %bb.3:
	cmp	w8, #3
	b.lt	LBB0_5
; %bb.4:
	ldr	w1, [x19, #4]
	ldr	x8, [x21]
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_debug
LBB0_5:
Lloh6:
	adrp	x8, _jiffies@GOTPAGE
Lloh7:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	x0, x19
	bl	_prime_rx
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	bl	_netif_start_queue
Lloh9:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
	cmp	w8, #2
	b.lt	LBB0_8
; %bb.7:
	ldr	w1, [x19, #4]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
LBB0_8:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
Lloh13:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
LBB0_9:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_elp_debug,4,2                  ; @elp_debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: request to send packet of length %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s: failed to transmit packet\n"

	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
l_.str.2:                               ; @.str.2
	.asciz	"%s: packet of length %d sent\n"

	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_elp_start_xmit
.subsections_via_symbols
