	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atpic_dispatch
_atpic_dispatch:                        ## @atpic_dispatch
	.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	%rsi, -48(%rbp)                 ## 8-byte Spill
	callq	_device_get_softc
	movq	%rax, %r15
	movq	_ATPIC_MASTER@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_OCW3_SEL@GOTPCREL(%rip), %r12
	movq	_OCW3_P@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	orl	(%r12), %ecx
	movq	%rax, %rdi
	xorl	%edx, %edx
	callq	_atpic_write
	movl	(%r13), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_atpic_read
	movl	%eax, %ebx
	movl	(%r13), %esi
	movq	_OCW3_RR@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	orl	(%r12), %ecx
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_atpic_write
	testb	$-128, %bl
	je	LBB0_3
## %bb.1:
	cmpl	$130, %ebx
	jne	LBB0_4
## %bb.2:
	movq	_ATPIC_SLAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rax, %rbx
	movl	(%r14), %ecx
	orl	(%r12), %ecx
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_atpic_write
	movl	(%rbx), %esi
	movq	%rbx, %r14
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_atpic_read
	movl	%eax, %ebx
	addl	$8, %ebx
	movl	(%r14), %esi
	movl	(%r13), %ecx
	orl	(%r12), %ecx
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_atpic_write
	testb	$-128, %bl
	jne	LBB0_4
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	(%r15), %rax
	andl	$15, %ebx
	movl	(%rax,%rbx,4), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_powerpc_dispatch_intr          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATPIC_MASTER,4,2               ## @ATPIC_MASTER
	.comm	_OCW3_SEL,4,2                   ## @OCW3_SEL
	.comm	_OCW3_P,4,2                     ## @OCW3_P
	.comm	_OCW3_RR,4,2                    ## @OCW3_RR
	.comm	_ATPIC_SLAVE,4,2                ## @ATPIC_SLAVE
	.no_dead_strip	_atpic_dispatch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atpic_dispatch
_atpic_dispatch:                        ; @atpic_dispatch
	.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, x1
	bl	_device_get_softc
	mov	x20, x0
Lloh0:
	adrp	x23, _ATPIC_MASTER@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ATPIC_MASTER@GOTPAGEOFF]
Lloh2:
	adrp	x22, _OCW3_SEL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _OCW3_SEL@GOTPAGEOFF]
	ldr	w1, [x23]
	ldr	w8, [x22]
Lloh4:
	adrp	x24, _OCW3_P@GOTPAGE
Lloh5:
	ldr	x24, [x24, _OCW3_P@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w3, w9, w8
	mov	w2, #0
	bl	_atpic_write
	ldr	w1, [x23]
	mov	x0, x20
	mov	w2, #0
	bl	_atpic_read
	mov	x21, x0
	ldr	w1, [x23]
	ldr	w8, [x22]
Lloh6:
	adrp	x23, _OCW3_RR@GOTPAGE
Lloh7:
	ldr	x23, [x23, _OCW3_RR@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w3, w9, w8
	mov	x0, x20
	mov	w2, #0
	bl	_atpic_write
	tbz	w21, #7, LBB0_3
; %bb.1:
	cmp	w21, #130
	b.ne	LBB0_4
; %bb.2:
Lloh8:
	adrp	x25, _ATPIC_SLAVE@GOTPAGE
Lloh9:
	ldr	x25, [x25, _ATPIC_SLAVE@GOTPAGEOFF]
	ldr	w1, [x25]
	ldr	w8, [x22]
	ldr	w9, [x24]
	orr	w3, w9, w8
	mov	x0, x20
	mov	w2, #0
	bl	_atpic_write
	ldr	w1, [x25]
	mov	x0, x20
	mov	w2, #0
	bl	_atpic_read
	add	w21, w0, #8
	ldr	w1, [x25]
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w3, w9, w8
	mov	x0, x20
	mov	w2, #0
	bl	_atpic_write
	tbnz	w21, #7, LBB0_4
LBB0_3:
	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_4:
	ldr	x8, [x20]
	and	w9, w21, #0xf
	ldr	w0, [x8, w9, uxtw #2]
	mov	x1, x19
	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
	b	_powerpc_dispatch_intr
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ATPIC_MASTER,4,2               ; @ATPIC_MASTER
	.comm	_OCW3_SEL,4,2                   ; @OCW3_SEL
	.comm	_OCW3_P,4,2                     ; @OCW3_P
	.comm	_OCW3_RR,4,2                    ; @OCW3_RR
	.comm	_ATPIC_SLAVE,4,2                ; @ATPIC_SLAVE
	.no_dead_strip	_atpic_dispatch
.subsections_via_symbols
