	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_notifier_add_irq               ## -- Begin function notifier_add_irq
	.p2align	4, 0x90
_notifier_add_irq:                      ## @notifier_add_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
	movq	%rdi, %rbx
	xorl	%eax, %eax
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	movq	_hvc_handle_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_IRQF_DISABLED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	L_.str(%rip), %rcx
	movl	%esi, %edi
	movl	%eax, %esi
	movq	%rbx, %r8
	callq	_request_irq
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movl	$1, %eax
LBB0_3:
	movl	%eax, (%rbx)
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hvc_handle_interrupt,4,2       ## @hvc_handle_interrupt
	.comm	_IRQF_DISABLED,4,2              ## @IRQF_DISABLED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hvc_console"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_notifier_add_irq               ; -- Begin function notifier_add_irq
	.p2align	2
_notifier_add_irq:                      ; @notifier_add_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
	cbz	w1, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _hvc_handle_interrupt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hvc_handle_interrupt@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IRQF_DISABLED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IRQF_DISABLED@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x9]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x1
	mov	x1, x8
	mov	x4, x19
	bl	_request_irq
	cbnz	w0, LBB0_5
; %bb.2:
	mov	w8, #1
	b	LBB0_4
LBB0_3:
	mov	w8, #0
LBB0_4:
	mov	w0, #0
	str	w8, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_hvc_handle_interrupt,4,2       ; @hvc_handle_interrupt
	.comm	_IRQF_DISABLED,4,2              ; @IRQF_DISABLED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hvc_console"

.subsections_via_symbols
