	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_macii_init                     ## -- Begin function macii_init
	.p2align	4, 0x90
_macii_init:                            ## @macii_init
	.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
	callq	_local_irq_save
	xorl	%eax, %eax
	callq	_macii_init_via
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	_IRQ_MAC_ADB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_macii_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	xorl	%edx, %edx
	movl	%esi, %r8d
	callq	_request_irq
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_idle@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_macii_state@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%ebx, %ebx
LBB0_3:
	callq	_local_irq_restore
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_MAC_ADB,4,2                ## @IRQ_MAC_ADB
	.comm	_macii_interrupt,4,2            ## @macii_interrupt
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ADB"

	.comm	_idle,4,2                       ## @idle
	.comm	_macii_state,4,2                ## @macii_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_macii_init                     ; -- Begin function macii_init
	.p2align	2
_macii_init:                            ; @macii_init
	.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
	bl	_local_irq_save
	bl	_macii_init_via
	mov	x19, x0
	cbnz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _IRQ_MAC_ADB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_MAC_ADB@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _macii_interrupt@GOTPAGE
Lloh4:
	ldr	x8, [x8, _macii_interrupt@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	w2, #0
	mov	x4, x1
	bl	_request_irq
	mov	x19, x0
	cbnz	w0, LBB0_3
; %bb.2:
Lloh8:
	adrp	x8, _idle@GOTPAGE
Lloh9:
	ldr	x8, [x8, _idle@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _macii_state@GOTPAGE
Lloh12:
	ldr	x9, [x9, _macii_state@GOTPAGEOFF]
Lloh13:
	str	w8, [x9]
LBB0_3:
	bl	_local_irq_restore
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_MAC_ADB,4,2                ; @IRQ_MAC_ADB
	.comm	_macii_interrupt,4,2            ; @macii_interrupt
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ADB"

	.comm	_idle,4,2                       ; @idle
	.comm	_macii_state,4,2                ; @macii_state
.subsections_via_symbols
