	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_line_setup_irq                 ## -- Begin function line_setup_irq
	.p2align	4, 0x90
_line_setup_irq:                        ## @line_setup_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %r14
	movl	%edi, %r12d
	movq	8(%rcx), %r13
	movq	_IRQF_DISABLED@GOTPCREL(%rip), %rax
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_IRQF_SAMPLE_RANDOM@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movl	8(%r13), %r9d
	movl	12(%r13), %edi
	movq	_IRQ_READ@GOTPCREL(%rip), %rax
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	%edx, %r14d
	movl	(%rax), %edx
	movq	_line_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, (%rsp)
	movl	%r12d, %esi
	movl	%ebx, %r8d
	callq	_um_request_irq
	movl	%r14d, %edx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	testl	%eax, %eax
	jne	LBB0_6
LBB0_2:
	testl	%edx, %edx
	je	LBB0_3
## %bb.4:
	movl	(%r13), %r9d
	movl	4(%r13), %edi
	movq	_IRQ_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_line_write_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, (%rsp)
	movl	%r12d, %esi
	movl	%ebx, %r8d
	callq	_um_request_irq
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
LBB0_5:
	movl	$1, (%r14)
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQF_DISABLED,4,2              ## @IRQF_DISABLED
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.comm	_IRQF_SAMPLE_RANDOM,4,2         ## @IRQF_SAMPLE_RANDOM
	.comm	_IRQ_READ,4,2                   ## @IRQ_READ
	.comm	_line_interrupt,4,2             ## @line_interrupt
	.comm	_IRQ_WRITE,4,2                  ## @IRQ_WRITE
	.comm	_line_write_interrupt,4,2       ## @line_write_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_line_setup_irq                 ; -- Begin function line_setup_irq
	.p2align	2
_line_setup_irq:                        ; @line_setup_irq
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x4
	mov	x19, x3
	mov	x23, x2
	mov	x21, x0
	ldr	x24, [x3, #8]
Lloh0:
	adrp	x8, _IRQF_DISABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQF_DISABLED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IRQF_SHARED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IRQF_SHARED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _IRQF_SAMPLE_RANDOM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IRQF_SAMPLE_RANDOM@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w22, w8, w9
	cbz	w1, LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _IRQ_READ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IRQ_READ@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _line_interrupt@GOTPAGE
Lloh13:
	ldr	x8, [x8, _line_interrupt@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	ldp	w5, w0, [x24, #8]
	mov	x1, x21
	mov	x4, x22
	mov	x6, x20
	bl	_um_request_irq
	cbnz	w0, LBB0_6
LBB0_2:
	cbz	w23, LBB0_4
; %bb.3:
Lloh15:
	adrp	x8, _IRQ_WRITE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IRQ_WRITE@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
Lloh18:
	adrp	x8, _line_write_interrupt@GOTPAGE
Lloh19:
	ldr	x8, [x8, _line_write_interrupt@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
	ldp	w5, w0, [x24]
	mov	x1, x21
	mov	x4, x22
	mov	x6, x20
	bl	_um_request_irq
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	mov	w8, #1
	str	w8, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQF_DISABLED,4,2              ; @IRQF_DISABLED
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.comm	_IRQF_SAMPLE_RANDOM,4,2         ; @IRQF_SAMPLE_RANDOM
	.comm	_IRQ_READ,4,2                   ; @IRQ_READ
	.comm	_line_interrupt,4,2             ; @line_interrupt
	.comm	_IRQ_WRITE,4,2                  ; @IRQ_WRITE
	.comm	_line_write_interrupt,4,2       ; @line_write_interrupt
.subsections_via_symbols
