	.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
	movq	_IRQ_FLG_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	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
	.comm	_IRQ_FLG_LOCK,4,2               ## @IRQ_FLG_LOCK
	.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	x8, _IRQ_FLG_LOCK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IRQ_FLG_LOCK@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x3, l_.str@PAGE
Lloh10:
	add	x3, x3, l_.str@PAGEOFF
	mov	x4, x1
	bl	_request_irq
	mov	x19, x0
	cbnz	w0, LBB0_3
; %bb.2:
Lloh11:
	adrp	x8, _idle@GOTPAGE
Lloh12:
	ldr	x8, [x8, _idle@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _macii_state@GOTPAGE
Lloh15:
	ldr	x9, [x9, _macii_state@GOTPAGEOFF]
Lloh16:
	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	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_MAC_ADB,4,2                ; @IRQ_MAC_ADB
	.comm	_macii_interrupt,4,2            ; @macii_interrupt
	.comm	_IRQ_FLG_LOCK,4,2               ; @IRQ_FLG_LOCK
	.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
