	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function w5300_hw_start
_w5300_hw_start:                        ## @w5300_hw_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_W5300_S0_MR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpq	$0, (%rdi)
	jne	LBB0_1
## %bb.2:
	movq	_S0_MR_MACRAW_MF@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_S0_MR_MACRAW@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_w5300_write
	movq	_S0_CR_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_w5300_command
	movq	_W5300_S0_IMR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_S0_IR_RECV@GOTPCREL(%rip), %rax
	movq	_S0_IR_SENDOK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_w5300_write
	movq	_W5300_IMR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IR_S0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_w5300_write                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_W5300_S0_MR,4,2                ## @W5300_S0_MR
	.comm	_S0_MR_MACRAW,4,2               ## @S0_MR_MACRAW
	.comm	_S0_MR_MACRAW_MF,4,2            ## @S0_MR_MACRAW_MF
	.comm	_S0_CR_OPEN,4,2                 ## @S0_CR_OPEN
	.comm	_W5300_S0_IMR,4,2               ## @W5300_S0_IMR
	.comm	_S0_IR_RECV,4,2                 ## @S0_IR_RECV
	.comm	_S0_IR_SENDOK,4,2               ## @S0_IR_SENDOK
	.comm	_W5300_IMR,4,2                  ## @W5300_IMR
	.comm	_IR_S0,4,2                      ## @IR_S0
	.no_dead_strip	_w5300_hw_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function w5300_hw_start
_w5300_hw_start:                        ; @w5300_hw_start
	.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, _W5300_S0_MR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _W5300_S0_MR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _S0_MR_MACRAW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _S0_MR_MACRAW@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh5:
	adrp	x10, _S0_MR_MACRAW_MF@GOTPAGE
Lloh6:
	ldr	x10, [x10, _S0_MR_MACRAW_MF@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w2, [x8]
	bl	_w5300_write
Lloh7:
	adrp	x8, _S0_CR_OPEN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _S0_CR_OPEN@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w5300_command
Lloh10:
	adrp	x8, _W5300_S0_IMR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _W5300_S0_IMR@GOTPAGEOFF]
Lloh12:
	adrp	x9, _S0_IR_RECV@GOTPAGE
Lloh13:
	ldr	x9, [x9, _S0_IR_RECV@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	ldr	w8, [x9]
Lloh16:
	adrp	x9, _S0_IR_SENDOK@GOTPAGE
Lloh17:
	ldr	x9, [x9, _S0_IR_SENDOK@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_w5300_write
Lloh19:
	adrp	x8, _W5300_IMR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _W5300_IMR@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x8, _IR_S0@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IR_S0@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_w5300_write
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh14
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_W5300_S0_MR,4,2                ; @W5300_S0_MR
	.comm	_S0_MR_MACRAW,4,2               ; @S0_MR_MACRAW
	.comm	_S0_MR_MACRAW_MF,4,2            ; @S0_MR_MACRAW_MF
	.comm	_S0_CR_OPEN,4,2                 ; @S0_CR_OPEN
	.comm	_W5300_S0_IMR,4,2               ; @W5300_S0_IMR
	.comm	_S0_IR_RECV,4,2                 ; @S0_IR_RECV
	.comm	_S0_IR_SENDOK,4,2               ; @S0_IR_SENDOK
	.comm	_W5300_IMR,4,2                  ; @W5300_IMR
	.comm	_IR_S0,4,2                      ; @IR_S0
	.no_dead_strip	_w5300_hw_start
.subsections_via_symbols
