	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_ipacx                     ## -- Begin function init_ipacx
	.p2align	4, 0x90
_init_ipacx:                            ## @init_ipacx
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	testb	$1, %r14b
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_clear_pending_ints
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_bch_init
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_bch_init
	movq	%rbx, %rdi
	callq	_dch_init
LBB0_2:
	testb	$2, %r14b
	jne	LBB0_4
## %bb.3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_IPACX_MASKB@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	__MASKB_IMASK@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	*(%rbx)
	movl	(%r14), %edx
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	*(%rbx)
	movq	_IPACX_MASKD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	__MASKD_IMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	*8(%rbx)
	movq	_IPACX_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	__MASK_IMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	*8(%rbx)
	movq	_IPACX_CMDRD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$65, %edx
	callq	*8(%rbx)
	movq	_IPACX_CMDRB@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$65, %ecx
	callq	*(%rbx)
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$65, %ecx
	callq	*(%rbx)
	movq	_IPACX_CMD_RES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ph_command                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IPACX_MASKB,4,2                ## @IPACX_MASKB
	.comm	__MASKB_IMASK,4,2               ## @_MASKB_IMASK
	.comm	_IPACX_MASKD,4,2                ## @IPACX_MASKD
	.comm	__MASKD_IMASK,4,2               ## @_MASKD_IMASK
	.comm	_IPACX_MASK,4,2                 ## @IPACX_MASK
	.comm	__MASK_IMASK,4,2                ## @_MASK_IMASK
	.comm	_IPACX_CMDRD,4,2                ## @IPACX_CMDRD
	.comm	_IPACX_CMDRB,4,2                ## @IPACX_CMDRB
	.comm	_IPACX_CMD_RES,4,2              ## @IPACX_CMD_RES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_ipacx                     ; -- Begin function init_ipacx
	.p2align	2
_init_ipacx:                            ; @init_ipacx
	.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
	mov	x19, x0
	tbz	w1, #0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_clear_pending_ints
	mov	x0, x19
	mov	w1, #0
	bl	_bch_init
	mov	x0, x19
	mov	w1, #1
	bl	_bch_init
	mov	x0, x19
	bl	_dch_init
LBB0_2:
	tbnz	w20, #1, LBB0_4
; %bb.3:
	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
	ret
LBB0_4:
	ldr	x8, [x19]
Lloh0:
	adrp	x20, _IPACX_MASKB@GOTPAGE
Lloh1:
	ldr	x20, [x20, _IPACX_MASKB@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh2:
	adrp	x21, __MASKB_IMASK@GOTPAGE
Lloh3:
	ldr	x21, [x21, __MASKB_IMASK@GOTPAGEOFF]
	ldr	w3, [x21]
	mov	x0, x19
	mov	w1, #0
	blr	x8
	ldr	x8, [x19]
	ldr	w2, [x20]
	ldr	w3, [x21]
	mov	x0, x19
	mov	w1, #1
	blr	x8
	ldr	x8, [x19, #8]
Lloh4:
	adrp	x9, _IPACX_MASKD@GOTPAGE
Lloh5:
	ldr	x9, [x9, _IPACX_MASKD@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x9]
Lloh7:
	adrp	x9, __MASKD_IMASK@GOTPAGE
Lloh8:
	ldr	x9, [x9, __MASKD_IMASK@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x9]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #8]
Lloh10:
	adrp	x9, _IPACX_MASK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _IPACX_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x9]
Lloh13:
	adrp	x9, __MASK_IMASK@GOTPAGE
Lloh14:
	ldr	x9, [x9, __MASK_IMASK@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x9]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #8]
Lloh16:
	adrp	x9, _IPACX_CMDRD@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IPACX_CMDRD@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x9]
	mov	x0, x19
	mov	w2, #65
	blr	x8
	ldr	x8, [x19]
Lloh19:
	adrp	x20, _IPACX_CMDRB@GOTPAGE
Lloh20:
	ldr	x20, [x20, _IPACX_CMDRB@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w1, #0
	mov	w3, #65
	blr	x8
	ldr	x8, [x19]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w1, #1
	mov	w3, #65
	blr	x8
Lloh21:
	adrp	x8, _IPACX_CMD_RES@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IPACX_CMD_RES@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	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	_ph_command
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IPACX_MASKB,4,2                ; @IPACX_MASKB
	.comm	__MASKB_IMASK,4,2               ; @_MASKB_IMASK
	.comm	_IPACX_MASKD,4,2                ; @IPACX_MASKD
	.comm	__MASKD_IMASK,4,2               ; @_MASKD_IMASK
	.comm	_IPACX_MASK,4,2                 ; @IPACX_MASK
	.comm	__MASK_IMASK,4,2                ; @_MASK_IMASK
	.comm	_IPACX_CMDRD,4,2                ; @IPACX_CMDRD
	.comm	_IPACX_CMDRB,4,2                ; @IPACX_CMDRB
	.comm	_IPACX_CMD_RES,4,2              ; @IPACX_CMD_RES
.subsections_via_symbols
