	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dm9000_reset
_dm9000_reset:                          ## @dm9000_reset
	.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
	movl	8(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	_DM9000_NCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	callq	_writeb
	movl	$200, %edi
	callq	_udelay
	movq	_NCR_RST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_writeb
	movl	$200, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_udelay                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"resetting device\n"

	.comm	_DM9000_NCR,4,2                 ## @DM9000_NCR
	.comm	_NCR_RST,4,2                    ## @NCR_RST
	.no_dead_strip	_dm9000_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dm9000_reset
_dm9000_reset:                          ; @dm9000_reset
	.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
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
Lloh2:
	adrp	x8, _DM9000_NCR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DM9000_NCR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	w1, [x19, #4]
	bl	_writeb
	mov	w0, #200
	bl	_udelay
Lloh5:
	adrp	x8, _NCR_RST@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NCR_RST@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_writeb
	mov	w0, #200
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_udelay
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"resetting device\n"

	.comm	_DM9000_NCR,4,2                 ; @DM9000_NCR
	.comm	_NCR_RST,4,2                    ; @NCR_RST
	.no_dead_strip	_dm9000_reset
.subsections_via_symbols
