	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scd_68k_irq_ack                ## -- Begin function scd_68k_irq_ack
	.p2align	4, 0x90
_scd_68k_irq_ack:                       ## @scd_68k_irq_ack
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	movq	_scd@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	btrl	%eax, %edi
	movl	%edi, (%rcx)
	movq	8(%rcx), %rcx
	cmpl	$2, %eax
	jne	LBB0_2
## %bb.1:
	andb	$-2, (%rcx)
LBB0_2:
	andl	204(%rcx), %edi
	sarl	%edi
	callq	_s68k_update_irq
	movq	_M68K_INT_ACK_AUTOVECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_scd,16,3                       ## @scd
	.comm	_M68K_INT_ACK_AUTOVECTOR,4,2    ## @M68K_INT_ACK_AUTOVECTOR
	.comm	_s68k,8,3                       ## @s68k
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scd_68k_irq_ack                ; -- Begin function scd_68k_irq_ack
	.p2align	2
_scd_68k_irq_ack:                       ; @scd_68k_irq_ack
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w8, #1
Lloh0:
	adrp	x9, _scd@GOTPAGE
Lloh1:
	ldr	x9, [x9, _scd@GOTPAGEOFF]
	lsl	w8, w8, w0
	ldr	w10, [x9]
	bic	w8, w10, w8
	str	w8, [x9]
	ldr	x9, [x9, #8]
	cmp	w0, #2
	b.ne	LBB0_2
; %bb.1:
	ldr	w10, [x9]
	and	w10, w10, #0xfffffffe
	str	w10, [x9]
LBB0_2:
	ldr	w9, [x9, #204]
	and	w8, w9, w8
	asr	w0, w8, #1
	bl	_s68k_update_irq
Lloh2:
	adrp	x8, _M68K_INT_ACK_AUTOVECTOR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M68K_INT_ACK_AUTOVECTOR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_scd,16,3                       ; @scd
	.comm	_M68K_INT_ACK_AUTOVECTOR,4,2    ; @M68K_INT_ACK_AUTOVECTOR
	.comm	_s68k,8,3                       ; @s68k
.subsections_via_symbols
