	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_eisa_pic
_init_eisa_pic:                         ## @init_eisa_pic
	.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
	movq	_eisa_irq_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	$255, %edi
	movl	$33, %esi
	callq	_eisa_out8
	movl	$255, %edi
	movl	$161, %esi
	callq	_eisa_out8
	movl	$17, %edi
	movl	$32, %esi
	callq	_eisa_out8
	xorl	%edi, %edi
	movl	$33, %esi
	callq	_eisa_out8
	movl	$4, %edi
	movl	$33, %esi
	callq	_eisa_out8
	movl	$1, %edi
	movl	$33, %esi
	callq	_eisa_out8
	movl	$64, %edi
	movl	$32, %esi
	callq	_eisa_out8
	movl	$17, %edi
	movl	$160, %esi
	callq	_eisa_out8
	movl	$8, %edi
	movl	$161, %esi
	callq	_eisa_out8
	movl	$2, %edi
	movl	$161, %esi
	callq	_eisa_out8
	movl	$1, %edi
	movl	$161, %esi
	callq	_eisa_out8
	movl	$64, %edi
	movl	$160, %esi
	callq	_eisa_out8
	movl	$100, %edi
	callq	_udelay
	movq	_slave_mask@GOTPCREL(%rip), %rax
	movl	$255, (%rax)
	movq	_master_mask@GOTPCREL(%rip), %rbx
	movl	$251, (%rbx)
	movl	$255, %edi
	movl	$161, %esi
	callq	_eisa_out8
	movl	(%rbx), %edi
	movl	$33, %esi
	callq	_eisa_out8
	movq	_eisa_irq_level@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_EISA_DBG
	movzbl	(%rbx), %edi
	movl	$1232, %esi                     ## imm = 0x4D0
	callq	_eisa_out8
	movzbl	1(%rbx), %edi
	movl	$1233, %esi                     ## imm = 0x4D1
	callq	_eisa_out8
	movl	$33, %edi
	callq	_eisa_in8
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_EISA_DBG
	movl	$161, %edi
	callq	_eisa_in8
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_EISA_DBG
	movl	$1232, %edi                     ## imm = 0x4D0
	callq	_eisa_in8
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	callq	_EISA_DBG
	movl	$1233, %edi                     ## imm = 0x4D1
	callq	_eisa_in8
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %esi
	callq	_EISA_DBG
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_eisa_irq_lock,4,2              ## @eisa_irq_lock
	.comm	_slave_mask,4,2                 ## @slave_mask
	.comm	_master_mask,4,2                ## @master_mask
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EISA edge/level %04x\n"

	.comm	_eisa_irq_level,4,2             ## @eisa_irq_level
L_.str.1:                               ## @.str.1
	.asciz	"pic0 mask %02x\n"

L_.str.2:                               ## @.str.2
	.asciz	"pic1 mask %02x\n"

L_.str.3:                               ## @.str.3
	.asciz	"pic0 edge/level %02x\n"

L_.str.4:                               ## @.str.4
	.asciz	"pic1 edge/level %02x\n"

	.no_dead_strip	_init_eisa_pic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_eisa_pic
_init_eisa_pic:                         ; @init_eisa_pic
	.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
Lloh0:
	adrp	x19, _eisa_irq_lock@GOTPAGE
Lloh1:
	ldr	x19, [x19, _eisa_irq_lock@GOTPAGEOFF]
	mov	x0, x19
	bl	_spin_lock_irqsave
	mov	w20, #255
	mov	w0, #255
	mov	w1, #33
	bl	_eisa_out8
	mov	w0, #255
	mov	w1, #161
	bl	_eisa_out8
	mov	w0, #17
	mov	w1, #32
	bl	_eisa_out8
	mov	w0, #0
	mov	w1, #33
	bl	_eisa_out8
	mov	w0, #4
	mov	w1, #33
	bl	_eisa_out8
	mov	w0, #1
	mov	w1, #33
	bl	_eisa_out8
	mov	w0, #64
	mov	w1, #32
	bl	_eisa_out8
	mov	w0, #17
	mov	w1, #160
	bl	_eisa_out8
	mov	w0, #8
	mov	w1, #161
	bl	_eisa_out8
	mov	w0, #2
	mov	w1, #161
	bl	_eisa_out8
	mov	w0, #1
	mov	w1, #161
	bl	_eisa_out8
	mov	w0, #64
	mov	w1, #160
	bl	_eisa_out8
	mov	w0, #100
	bl	_udelay
Lloh2:
	adrp	x8, _slave_mask@GOTPAGE
Lloh3:
	ldr	x8, [x8, _slave_mask@GOTPAGEOFF]
Lloh4:
	str	w20, [x8]
Lloh5:
	adrp	x20, _master_mask@GOTPAGE
Lloh6:
	ldr	x20, [x20, _master_mask@GOTPAGEOFF]
	mov	w8, #251
	str	w8, [x20]
	mov	w0, #255
	mov	w1, #161
	bl	_eisa_out8
	ldr	w0, [x20]
	mov	w1, #33
	bl	_eisa_out8
Lloh7:
	adrp	x20, _eisa_irq_level@GOTPAGE
Lloh8:
	ldr	x20, [x20, _eisa_irq_level@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_EISA_DBG
	ldrb	w0, [x20]
	mov	w1, #1232
	bl	_eisa_out8
	ldrb	w0, [x20, #1]
	mov	w1, #1233
	bl	_eisa_out8
	mov	w0, #33
	bl	_eisa_in8
	mov	x1, x0
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_EISA_DBG
	mov	w0, #161
	bl	_eisa_in8
	mov	x1, x0
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_EISA_DBG
	mov	w0, #1232
	bl	_eisa_in8
	mov	x1, x0
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_EISA_DBG
	mov	w0, #1233
	bl	_eisa_in8
	mov	x1, x0
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_EISA_DBG
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_eisa_irq_lock,4,2              ; @eisa_irq_lock
	.comm	_slave_mask,4,2                 ; @slave_mask
	.comm	_master_mask,4,2                ; @master_mask
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EISA edge/level %04x\n"

	.comm	_eisa_irq_level,4,2             ; @eisa_irq_level
l_.str.1:                               ; @.str.1
	.asciz	"pic0 mask %02x\n"

l_.str.2:                               ; @.str.2
	.asciz	"pic1 mask %02x\n"

l_.str.3:                               ; @.str.3
	.asciz	"pic0 edge/level %02x\n"

l_.str.4:                               ; @.str.4
	.asciz	"pic1 edge/level %02x\n"

	.no_dead_strip	_init_eisa_pic
.subsections_via_symbols
