	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function encx24j600_hw_tx
_encx24j600_hw_tx:                      ## @encx24j600_hw_tx
	.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	%rdi, %rbx
	movq	(%rdi), %rax
	movq	8(%rdi), %rdx
	movq	_tx_queued@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rcx
	callq	_netif_info
	movq	%rbx, %rdi
	callq	_netif_msg_pktdata
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rax
	movl	(%rax), %esi
	movq	8(%rax), %rdx
	leaq	L_.str.1(%rip), %rdi
	callq	_dump_packet
LBB0_2:
	movq	_EIR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_encx24j600_read_reg
	movq	_TXABTIF@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_encx24j600_reset_hw_tx
LBB0_4:
	movl	(%r14), %esi
	movq	_TXIF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_encx24j600_clr_bits
	movq	_EGPWRPT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ENC_TX_BUF_START@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_encx24j600_write_reg
	movq	_WGPDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rax
	movq	8(%rax), %rdx
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_encx24j600_raw_write
	movq	_ETXST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_encx24j600_write_reg
	movq	_ETXLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_encx24j600_write_reg
	movq	_SETTXRTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_encx24j600_cmd                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_tx_queued,4,2                  ## @tx_queued
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TX Packet Len:%d\n"

L_.str.1:                               ## @.str.1
	.asciz	"TX"

	.comm	_EIR,4,2                        ## @EIR
	.comm	_TXABTIF,4,2                    ## @TXABTIF
	.comm	_TXIF,4,2                       ## @TXIF
	.comm	_EGPWRPT,4,2                    ## @EGPWRPT
	.comm	_ENC_TX_BUF_START,4,2           ## @ENC_TX_BUF_START
	.comm	_WGPDATA,4,2                    ## @WGPDATA
	.comm	_ETXST,4,2                      ## @ETXST
	.comm	_ETXLEN,4,2                     ## @ETXLEN
	.comm	_SETTXRTS,4,2                   ## @SETTXRTS
	.no_dead_strip	_encx24j600_hw_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function encx24j600_hw_tx
_encx24j600_hw_tx:                      ; @encx24j600_hw_tx
	.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	x19, x0
Lloh0:
	adrp	x8, _tx_queued@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tx_queued@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldp	x8, x2, [x0]
	ldr	w4, [x8]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	bl	_netif_info
	mov	x0, x19
	bl	_netif_msg_pktdata
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	w1, [x8]
	ldr	x2, [x8, #8]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dump_packet
LBB0_2:
Lloh7:
	adrp	x20, _EIR@GOTPAGE
Lloh8:
	ldr	x20, [x20, _EIR@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_encx24j600_read_reg
Lloh9:
	adrp	x8, _TXABTIF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TXABTIF@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_encx24j600_reset_hw_tx
LBB0_4:
	ldr	w1, [x20]
Lloh12:
	adrp	x8, _TXIF@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TXIF@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_encx24j600_clr_bits
Lloh15:
	adrp	x8, _EGPWRPT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EGPWRPT@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x20, _ENC_TX_BUF_START@GOTPAGE
Lloh19:
	ldr	x20, [x20, _ENC_TX_BUF_START@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_encx24j600_write_reg
Lloh20:
	adrp	x8, _WGPDATA@GOTPAGE
Lloh21:
	ldr	x8, [x8, _WGPDATA@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	ldr	x8, [x19]
	ldr	x2, [x8, #8]
	ldr	w3, [x8]
	mov	x0, x19
	bl	_encx24j600_raw_write
Lloh23:
	adrp	x8, _ETXST@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ETXST@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_encx24j600_write_reg
Lloh26:
	adrp	x8, _ETXLEN@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ETXLEN@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	ldr	x8, [x19]
	ldr	w2, [x8]
	mov	x0, x19
	bl	_encx24j600_write_reg
Lloh29:
	adrp	x8, _SETTXRTS@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SETTXRTS@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_encx24j600_cmd
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_tx_queued,4,2                  ; @tx_queued
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TX Packet Len:%d\n"

l_.str.1:                               ; @.str.1
	.asciz	"TX"

	.comm	_EIR,4,2                        ; @EIR
	.comm	_TXABTIF,4,2                    ; @TXABTIF
	.comm	_TXIF,4,2                       ; @TXIF
	.comm	_EGPWRPT,4,2                    ; @EGPWRPT
	.comm	_ENC_TX_BUF_START,4,2           ; @ENC_TX_BUF_START
	.comm	_WGPDATA,4,2                    ; @WGPDATA
	.comm	_ETXST,4,2                      ; @ETXST
	.comm	_ETXLEN,4,2                     ; @ETXLEN
	.comm	_SETTXRTS,4,2                   ; @SETTXRTS
	.no_dead_strip	_encx24j600_hw_tx
.subsections_via_symbols
