	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function NS8390_trigger_send
_NS8390_trigger_send:                   ## @NS8390_trigger_send
	.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
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	(%rdi), %r12
	callq	_netdev_priv
	movq	%r12, %rdi
	callq	_inb_p
	movq	_E8390_TRANS@GOTPCREL(%rip), %r13
	testl	%eax, (%r13)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netdev_warn                    ## TAILCALL
LBB0_2:
	movzbl	%r15b, %edi
	movq	_EN0_TCNTLO@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r12, %rsi
	callq	_outb_p
	shrl	$8, %r15d
	movq	_EN0_TCNTHI@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r12, %rsi
	movl	%r15d, %edi
	callq	_outb_p
	movq	_EN0_TPSR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r12, %rsi
	movl	%r14d, %edi
	callq	_outb_p
	movq	_E8390_NODMA@GOTPCREL(%rip), %rax
	movl	(%r13), %edi
	addl	(%rax), %edi
	movq	_E8390_START@GOTPCREL(%rip), %rax
	addl	(%rax), %edi
	movq	_E8390_CMD@GOTPCREL(%rip), %rax
	addq	(%rax), %r12
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_outb_p                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_E8390_TRANS,4,2                ## @E8390_TRANS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"trigger_send() called with the transmitter busy\n"

	.comm	_EN0_TCNTLO,8,3                 ## @EN0_TCNTLO
	.comm	_EN0_TCNTHI,8,3                 ## @EN0_TCNTHI
	.comm	_EN0_TPSR,8,3                   ## @EN0_TPSR
	.comm	_E8390_NODMA,4,2                ## @E8390_NODMA
	.comm	_E8390_START,4,2                ## @E8390_START
	.comm	_E8390_CMD,8,3                  ## @E8390_CMD
	.no_dead_strip	_NS8390_trigger_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function NS8390_trigger_send
_NS8390_trigger_send:                   ; @NS8390_trigger_send
	.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	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x19, [x0]
	bl	_netdev_priv
	mov	x0, x19
	bl	_inb_p
Lloh0:
	adrp	x23, _E8390_TRANS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _E8390_TRANS@GOTPAGEOFF]
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	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
	b	_netdev_warn
LBB0_2:
	and	w0, w21, #0xff
Lloh4:
	adrp	x8, _EN0_TCNTLO@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EN0_TCNTLO@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	add	x1, x8, x19
	bl	_outb_p
	lsr	w0, w21, #8
Lloh7:
	adrp	x8, _EN0_TCNTHI@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EN0_TCNTHI@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	add	x1, x8, x19
	bl	_outb_p
Lloh10:
	adrp	x8, _EN0_TPSR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EN0_TPSR@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	add	x1, x8, x19
	mov	x0, x20
	bl	_outb_p
Lloh13:
	adrp	x8, _E8390_NODMA@GOTPAGE
Lloh14:
	ldr	x8, [x8, _E8390_NODMA@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [x23]
Lloh16:
	adrp	x10, _E8390_START@GOTPAGE
Lloh17:
	ldr	x10, [x10, _E8390_START@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	add	w8, w9, w8
	add	w0, w8, w10
Lloh19:
	adrp	x8, _E8390_CMD@GOTPAGE
Lloh20:
	ldr	x8, [x8, _E8390_CMD@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	add	x1, x8, x19
	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
	b	_outb_p
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_E8390_TRANS,4,2                ; @E8390_TRANS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"trigger_send() called with the transmitter busy\n"

	.comm	_EN0_TCNTLO,8,3                 ; @EN0_TCNTLO
	.comm	_EN0_TCNTHI,8,3                 ; @EN0_TCNTHI
	.comm	_EN0_TPSR,8,3                   ; @EN0_TPSR
	.comm	_E8390_NODMA,4,2                ; @E8390_NODMA
	.comm	_E8390_START,4,2                ; @E8390_START
	.comm	_E8390_CMD,8,3                  ; @E8390_CMD
	.no_dead_strip	_NS8390_trigger_send
.subsections_via_symbols
