	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lx_irq_set
_lx_irq_set:                            ## @lx_irq_set
	.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
	movq	_ePLX_IRQCS@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_lx_plx_reg_read
	movq	_IRQCS_ENABLE_PCIIRQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_IRQCS_ENABLE_PCIDB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	orl	%eax, %edx
	orl	%ecx, %edx
	jmp	LBB0_3
LBB0_2:
	orl	%edx, %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, %edx
LBB0_3:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_lx_plx_reg_write               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ePLX_IRQCS,4,2                 ## @ePLX_IRQCS
	.comm	_IRQCS_ENABLE_PCIIRQ,4,2        ## @IRQCS_ENABLE_PCIIRQ
	.comm	_IRQCS_ENABLE_PCIDB,4,2         ## @IRQCS_ENABLE_PCIDB
	.no_dead_strip	_lx_irq_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lx_irq_set
_lx_irq_set:                            ; @lx_irq_set
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _ePLX_IRQCS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ePLX_IRQCS@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_lx_plx_reg_read
Lloh2:
	adrp	x8, _IRQCS_ENABLE_PCIIRQ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IRQCS_ENABLE_PCIIRQ@GOTPAGEOFF]
Lloh4:
	adrp	x9, _IRQCS_ENABLE_PCIDB@GOTPAGE
Lloh5:
	ldr	x9, [x9, _IRQCS_ENABLE_PCIDB@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	ldr	w9, [x9]
	orr	w10, w9, w8
	bic	w10, w0, w10
	orr	w8, w8, w0
	orr	w8, w8, w9
	cmp	w19, #0
	csel	w2, w10, w8, eq
	ldr	w1, [x21]
	mov	x0, x20
	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	_lx_plx_reg_write
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ePLX_IRQCS,4,2                 ; @ePLX_IRQCS
	.comm	_IRQCS_ENABLE_PCIIRQ,4,2        ; @IRQCS_ENABLE_PCIIRQ
	.comm	_IRQCS_ENABLE_PCIDB,4,2         ; @IRQCS_ENABLE_PCIDB
	.no_dead_strip	_lx_irq_set
.subsections_via_symbols
