	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_make_8259A_irq                 ## -- Begin function make_8259A_irq
	.p2align	4, 0x90
_make_8259A_irq:                        ## @make_8259A_irq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	callq	_disable_irq_nosync
	movl	$-2, %eax
	movl	%ebx, %ecx
	roll	%cl, %eax
	movq	_io_apic_irqs@GOTPCREL(%rip), %rcx
	andl	%eax, (%rcx)
	movq	_handle_level_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_i8259A_chip@GOTPCREL(%rip), %rsi
	leaq	L_.str(%rip), %rcx
	movl	%ebx, %edi
	callq	_set_irq_chip_and_handler_name
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_enable_irq                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_io_apic_irqs,4,2               ## @io_apic_irqs
	.comm	_i8259A_chip,4,2                ## @i8259A_chip
	.comm	_handle_level_irq,4,2           ## @handle_level_irq
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"XT"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_make_8259A_irq                 ; -- Begin function make_8259A_irq
	.p2align	2
_make_8259A_irq:                        ; @make_8259A_irq
	.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
	mov	x19, x0
	bl	_disable_irq_nosync
	mov	w8, #1
	lsl	w8, w8, w19
Lloh0:
	adrp	x9, _io_apic_irqs@GOTPAGE
Lloh1:
	ldr	x9, [x9, _io_apic_irqs@GOTPAGEOFF]
	ldr	w10, [x9]
	bic	w8, w10, w8
	str	w8, [x9]
Lloh2:
	adrp	x8, _handle_level_irq@GOTPAGE
Lloh3:
	ldr	x8, [x8, _handle_level_irq@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x1, _i8259A_chip@GOTPAGE
Lloh6:
	ldr	x1, [x1, _i8259A_chip@GOTPAGEOFF]
Lloh7:
	adrp	x3, l_.str@PAGE
Lloh8:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_set_irq_chip_and_handler_name
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_enable_irq
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_io_apic_irqs,4,2               ; @io_apic_irqs
	.comm	_i8259A_chip,4,2                ; @i8259A_chip
	.comm	_handle_level_irq,4,2           ; @handle_level_irq
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"XT"

.subsections_via_symbols
