	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_z8530_queue_xmit               ## -- Begin function z8530_queue_xmit
	.p2align	4, 0x90
_z8530_queue_xmit:                      ## @z8530_queue_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	48(%rdi), %edi
	callq	_netif_stop_queue
	cmpq	$0, 16(%rbx)
	je	LBB0_2
## %bb.1:
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_2:
	cmpq	$0, 40(%rbx)
	je	LBB0_6
## %bb.3:
	movq	8(%r14), %rdi
	addq	(%r14), %rdi
	callq	_virt_to_bus
	cmpq	$16777215, %rax                 ## imm = 0xFFFFFF
	ja	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_spans_boundary
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	movq	(%rbx), %rax
	movq	32(%rbx), %rcx
	movq	(%rcx,%rax,8), %rsi
	movq	%rsi, 24(%rbx)
	xorq	$1, %rax
	movq	%rax, (%rbx)
	movq	8(%r14), %rdx
	movq	%r14, %rdi
	callq	_skb_copy_from_linear_data
	jmp	LBB0_7
LBB0_6:
	movq	(%r14), %rax
	movq	%rax, 24(%rbx)
LBB0_7:
	movq	%r14, 16(%rbx)
	movl	8(%rbx), %edi
	callq	_spin_lock_irqsave
	movq	%rbx, %rdi
	callq	_z8530_tx_begin
	movl	8(%rbx), %edi
	callq	_spin_unlock_irqrestore
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.comm	_RT_LOCK,4,2                    ## @RT_LOCK
	.comm	_RT_UNLOCK,4,2                  ## @RT_UNLOCK
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_z8530_queue_xmit               ; -- Begin function z8530_queue_xmit
	.p2align	2
_z8530_queue_xmit:                      ; @z8530_queue_xmit
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #48]
	bl	_netif_stop_queue
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
	b	LBB0_8
LBB0_2:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_6
; %bb.3:
	ldp	x8, x9, [x20]
	add	x0, x9, x8
	bl	_virt_to_bus
	lsr	x8, x0, #24
	cbnz	x8, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_spans_boundary
	cbz	x0, LBB0_6
LBB0_5:
	ldr	x8, [x19, #32]
	ldr	x9, [x19]
	ldr	x1, [x8, x9, lsl #3]
	str	x1, [x19, #24]
	eor	x8, x9, #0x1
	str	x8, [x19]
	ldr	x2, [x20, #8]
	mov	x0, x20
	bl	_skb_copy_from_linear_data
	b	LBB0_7
LBB0_6:
	ldr	x8, [x20]
	str	x8, [x19, #24]
LBB0_7:
	str	x20, [x19, #16]
	ldr	w0, [x19, #8]
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_z8530_tx_begin
	ldr	w0, [x19, #8]
	bl	_spin_unlock_irqrestore
Lloh2:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_RT_LOCK,4,2                    ; @RT_LOCK
	.comm	_RT_UNLOCK,4,2                  ; @RT_UNLOCK
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
.subsections_via_symbols
