	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zorro8390_init_one
_zorro8390_init_one:                    ## @zorro8390_init_one
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_cards@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	movq	(%r14), %rcx
	movl	%eax, %eax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rcx,%rdx,8), %rdx
	addq	$-24, %rdx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testl	%eax, %eax
	jle	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	decq	%rax
	movq	(%rbx), %rsi
	leaq	-24(%rdx), %rdi
	cmpq	(%rdx), %rsi
	movq	%rdi, %rdx
	jne	LBB0_1
## %bb.3:
	movq	8(%rbx), %rdx
	movl	%eax, %eax
	leaq	(%rax,%rax,2), %r13
	movq	8(%rcx,%r13,8), %r15
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	addq	%rdx, %r15
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	callq	_____alloc_ei_netdev
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:
	movq	%rax, %r14
	movq	_NE_IO_EXTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%esi, %esi
	movq	_DRV_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_request_mem_region
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movq	_cards@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	16(%rax,%r13,8), %r12d
	movq	%r15, %rdi
	callq	_ZTWO_VADDR
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_zorro8390_init
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movl	%eax, %r12d
	movq	_NE_IO_EXTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%esi, %esi
	movq	%r15, %rdi
	callq	_release_mem_region
	movq	%r14, %rdi
	callq	_free_netdev
	jmp	LBB0_12
LBB0_5:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_6:
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_12
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	jmp	LBB0_12
LBB0_8:
	movq	%r14, %rdi
	callq	_free_netdev
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_11:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_zorro_set_drvdata
	xorl	%r12d, %r12d
LBB0_12:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cards,8,3                      ## @cards
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_NE_IO_EXTENT,4,2               ## @NE_IO_EXTENT
	.comm	_DRV_NAME,4,2                   ## @DRV_NAME
	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	_zorro8390_init_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zorro8390_init_one
_zorro8390_init_one:                    ; @zorro8390_init_one
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x23, _cards@GOTPAGE
Lloh1:
	ldr	x23, [x23, _cards@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	ldr	x8, [x23]
	mov	w9, w0
	mov	w10, #24
	umaddl	x10, w0, w10, x8
	sub	x10, x10, #24
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	x9, x9, #1
	ldr	x11, [x19]
	ldr	x12, [x10], #-24
	cmp	x11, x12
	b.ne	LBB0_1
; %bb.3:
	ldr	x21, [x19, #8]
	and	x25, x9, #0xffffffff
	mov	w9, #24
	madd	x8, x25, x9, x8
	ldr	x22, [x8, #8]
	mov	w0, #0
	bl	_____alloc_ei_netdev
	cbz	x0, LBB0_8
; %bb.4:
	mov	x20, x0
Lloh2:
	adrp	x24, _NE_IO_EXTENT@GOTPAGE
Lloh3:
	ldr	x24, [x24, _NE_IO_EXTENT@GOTPAGEOFF]
	add	x22, x22, x21
	ldr	w8, [x24]
	lsl	w1, w8, #1
Lloh4:
	adrp	x8, _DRV_NAME@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DRV_NAME@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_request_mem_region
	cbz	w0, LBB0_9
; %bb.5:
	ldr	x8, [x23]
	mov	w9, #24
	madd	x8, x25, x9, x8
	ldr	w23, [x8, #16]
	mov	x0, x22
	bl	_ZTWO_VADDR
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x23
	bl	_zorro8390_init
	mov	x21, x0
	cbz	w0, LBB0_12
; %bb.6:
	ldr	w8, [x24]
	lsl	w1, w8, #1
	mov	x0, x22
	bl	_release_mem_region
	mov	x0, x20
	bl	_free_netdev
	b	LBB0_11
LBB0_7:
Lloh7:
	adrp	x8, _ENODEV@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
	mov	x0, x20
	bl	_free_netdev
Lloh11:
	adrp	x8, _EBUSY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_11:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	x0, x19
	mov	x1, x20
	bl	_zorro_set_drvdata
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_cards,8,3                      ; @cards
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_NE_IO_EXTENT,4,2               ; @NE_IO_EXTENT
	.comm	_DRV_NAME,4,2                   ; @DRV_NAME
	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	_zorro8390_init_one
.subsections_via_symbols
