	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atpic_eoi
_atpic_eoi:                             ## @atpic_eoi
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	callq	_device_get_softc
	movq	%rax, %r14
	cmpl	$8, %ebx
	jl	LBB0_2
## %bb.1:
	movq	_ATPIC_SLAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OCW2_EOI@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_atpic_write
LBB0_2:
	movq	_ATPIC_MASTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OCW2_EOI@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_atpic_write                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATPIC_SLAVE,4,2                ## @ATPIC_SLAVE
	.comm	_OCW2_EOI,4,2                   ## @OCW2_EOI
	.comm	_ATPIC_MASTER,4,2               ## @ATPIC_MASTER
	.no_dead_strip	_atpic_eoi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atpic_eoi
_atpic_eoi:                             ; @atpic_eoi
	.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	x20, x1
	bl	_device_get_softc
	mov	x19, x0
Lloh0:
	adrp	x21, _OCW2_EOI@GOTPAGE
Lloh1:
	ldr	x21, [x21, _OCW2_EOI@GOTPAGEOFF]
	cmp	w20, #8
	b.lt	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ATPIC_SLAVE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ATPIC_SLAVE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w3, [x21]
	mov	x0, x19
	mov	w2, #0
	bl	_atpic_write
LBB0_2:
Lloh5:
	adrp	x8, _ATPIC_MASTER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ATPIC_MASTER@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w3, [x21]
	mov	x0, x19
	mov	w2, #0
	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
	b	_atpic_write
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ATPIC_SLAVE,4,2                ; @ATPIC_SLAVE
	.comm	_OCW2_EOI,4,2                   ; @OCW2_EOI
	.comm	_ATPIC_MASTER,4,2               ; @ATPIC_MASTER
	.no_dead_strip	_atpic_eoi
.subsections_via_symbols
