	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_dev
_init_dev:                              ## @init_dev
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_h8300_ne_count@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	movq	_h8300_ne_base@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %rbx
	jae	LBB0_2
## %bb.1:
	movq	(%r15), %rax
	movq	(%r14), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, 4(%r12)
	movq	_h8300_ne_irq@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rcx,4), %eax
	movl	%eax, (%r12)
	incq	%rcx
	movq	%rcx, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_2:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_h8300_ne_count,8,3             ## @h8300_ne_count
	.comm	_h8300_ne_base,8,3              ## @h8300_ne_base
	.comm	_h8300_ne_irq,8,3               ## @h8300_ne_irq
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_init_dev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_dev
_init_dev:                              ; @init_dev
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _h8300_ne_count@GOTPAGE
Lloh1:
	ldr	x20, [x20, _h8300_ne_count@GOTPAGEOFF]
	ldr	x22, [x20]
Lloh2:
	adrp	x21, _h8300_ne_base@GOTPAGE
Lloh3:
	ldr	x21, [x21, _h8300_ne_base@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	x22, x0
	b.hs	LBB0_2
; %bb.1:
	mov	w0, #0
	ldr	x8, [x21]
	ldr	x9, [x20]
	lsl	x10, x9, #2
	ldr	w8, [x8, x10]
	str	w8, [x19, #4]
Lloh4:
	adrp	x8, _h8300_ne_irq@GOTPAGE
Lloh5:
	ldr	x8, [x8, _h8300_ne_irq@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	ldr	w8, [x8, x10]
	str	w8, [x19]
	add	x8, x9, #1
	str	x8, [x20]
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x8, _ENODEV@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_h8300_ne_count,8,3             ; @h8300_ne_count
	.comm	_h8300_ne_base,8,3              ; @h8300_ne_base
	.comm	_h8300_ne_irq,8,3               ; @h8300_ne_irq
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_init_dev
.subsections_via_symbols
