	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dm9000_set_io
_dm9000_set_io:                         ## @dm9000_set_io
	.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
	cmpl	$1, %esi
	je	LBB0_1
## %bb.2:
	cmpl	$2, %esi
	je	LBB0_5
## %bb.3:
	cmpl	$3, %esi
	jne	LBB0_6
## %bb.4:
	movl	12(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
LBB0_5:
	movq	_dm9000_inblk_16bit@GOTPCREL(%rip), %rax
	movq	_dm9000_outblk_16bit@GOTPCREL(%rip), %rcx
	movq	_dm9000_dumpblk_16bit@GOTPCREL(%rip), %rdx
	jmp	LBB0_7
LBB0_1:
	movq	_dm9000_inblk_8bit@GOTPCREL(%rip), %rax
	movq	_dm9000_outblk_8bit@GOTPCREL(%rip), %rcx
	movq	_dm9000_dumpblk_8bit@GOTPCREL(%rip), %rdx
	jmp	LBB0_7
LBB0_6:
	movq	_dm9000_inblk_32bit@GOTPCREL(%rip), %rax
	movq	_dm9000_outblk_32bit@GOTPCREL(%rip), %rcx
	movq	_dm9000_dumpblk_32bit@GOTPCREL(%rip), %rdx
LBB0_7:
	movl	(%rdx), %edx
	movl	%edx, 8(%rbx)
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rbx)
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dm9000_dumpblk_8bit,4,2        ## @dm9000_dumpblk_8bit
	.comm	_dm9000_outblk_8bit,4,2         ## @dm9000_outblk_8bit
	.comm	_dm9000_inblk_8bit,4,2          ## @dm9000_inblk_8bit
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	": 3 byte IO, falling back to 16bit\n"

	.comm	_dm9000_dumpblk_16bit,4,2       ## @dm9000_dumpblk_16bit
	.comm	_dm9000_outblk_16bit,4,2        ## @dm9000_outblk_16bit
	.comm	_dm9000_inblk_16bit,4,2         ## @dm9000_inblk_16bit
	.comm	_dm9000_dumpblk_32bit,4,2       ## @dm9000_dumpblk_32bit
	.comm	_dm9000_outblk_32bit,4,2        ## @dm9000_outblk_32bit
	.comm	_dm9000_inblk_32bit,4,2         ## @dm9000_inblk_32bit
	.no_dead_strip	_dm9000_set_io
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dm9000_set_io
_dm9000_set_io:                         ; @dm9000_set_io
	.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
	cmp	w1, #1
	b.eq	LBB0_5
; %bb.1:
	cmp	w1, #2
	b.eq	LBB0_4
; %bb.2:
	cmp	w1, #3
	b.ne	LBB0_6
; %bb.3:
	ldr	w0, [x19, #12]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
LBB0_4:
Lloh2:
	adrp	x8, _dm9000_inblk_16bit@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dm9000_inblk_16bit@GOTPAGEOFF]
Lloh4:
	adrp	x9, _dm9000_outblk_16bit@GOTPAGE
Lloh5:
	ldr	x9, [x9, _dm9000_outblk_16bit@GOTPAGEOFF]
Lloh6:
	adrp	x10, _dm9000_dumpblk_16bit@GOTPAGE
Lloh7:
	ldr	x10, [x10, _dm9000_dumpblk_16bit@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh8:
	adrp	x8, _dm9000_inblk_8bit@GOTPAGE
Lloh9:
	ldr	x8, [x8, _dm9000_inblk_8bit@GOTPAGEOFF]
Lloh10:
	adrp	x9, _dm9000_outblk_8bit@GOTPAGE
Lloh11:
	ldr	x9, [x9, _dm9000_outblk_8bit@GOTPAGEOFF]
Lloh12:
	adrp	x10, _dm9000_dumpblk_8bit@GOTPAGE
Lloh13:
	ldr	x10, [x10, _dm9000_dumpblk_8bit@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh14:
	adrp	x8, _dm9000_inblk_32bit@GOTPAGE
Lloh15:
	ldr	x8, [x8, _dm9000_inblk_32bit@GOTPAGEOFF]
Lloh16:
	adrp	x9, _dm9000_outblk_32bit@GOTPAGE
Lloh17:
	ldr	x9, [x9, _dm9000_outblk_32bit@GOTPAGEOFF]
Lloh18:
	adrp	x10, _dm9000_dumpblk_32bit@GOTPAGE
Lloh19:
	ldr	x10, [x10, _dm9000_dumpblk_32bit@GOTPAGEOFF]
LBB0_7:
	ldr	w10, [x10]
	ldr	w9, [x9]
	ldr	w8, [x8]
	stp	w9, w10, [x19, #4]
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_dm9000_dumpblk_8bit,4,2        ; @dm9000_dumpblk_8bit
	.comm	_dm9000_outblk_8bit,4,2         ; @dm9000_outblk_8bit
	.comm	_dm9000_inblk_8bit,4,2          ; @dm9000_inblk_8bit
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	": 3 byte IO, falling back to 16bit\n"

	.comm	_dm9000_dumpblk_16bit,4,2       ; @dm9000_dumpblk_16bit
	.comm	_dm9000_outblk_16bit,4,2        ; @dm9000_outblk_16bit
	.comm	_dm9000_inblk_16bit,4,2         ; @dm9000_inblk_16bit
	.comm	_dm9000_dumpblk_32bit,4,2       ; @dm9000_dumpblk_32bit
	.comm	_dm9000_outblk_32bit,4,2        ; @dm9000_outblk_32bit
	.comm	_dm9000_inblk_32bit,4,2         ; @dm9000_inblk_32bit
	.no_dead_strip	_dm9000_set_io
.subsections_via_symbols
