	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcc_map_interrupt
_pcc_map_interrupt:                     ## @pcc_map_interrupt
	.cfi_startproc
## %bb.0:
	testl	%edi, %edi
	je	LBB0_8
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	movq	_ACPI_PCCT_INTERRUPT_MODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%esi, %ecx
	jne	LBB0_2
## %bb.3:
	movq	_ACPI_LEVEL_SENSITIVE@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_8:
	xorl	%eax, %eax
	retq
LBB0_2:
	movq	_ACPI_EDGE_SENSITIVE@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	(%rcx), %edx
	movq	_ACPI_PCCT_INTERRUPT_POLARITY@GOTPCREL(%rip), %rcx
	andl	(%rcx), %esi
	jne	LBB0_5
## %bb.6:
	movq	_ACPI_ACTIVE_HIGH@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_5:
	movq	_ACPI_ACTIVE_LOW@GOTPCREL(%rip), %rcx
LBB0_7:
	movl	(%rcx), %ecx
	xorl	%edi, %edi
	movl	%eax, %esi
	popq	%rbp
	jmp	_acpi_register_gsi              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_PCCT_INTERRUPT_MODE,4,2   ## @ACPI_PCCT_INTERRUPT_MODE
	.comm	_ACPI_EDGE_SENSITIVE,4,2        ## @ACPI_EDGE_SENSITIVE
	.comm	_ACPI_LEVEL_SENSITIVE,4,2       ## @ACPI_LEVEL_SENSITIVE
	.comm	_ACPI_PCCT_INTERRUPT_POLARITY,4,2 ## @ACPI_PCCT_INTERRUPT_POLARITY
	.comm	_ACPI_ACTIVE_LOW,4,2            ## @ACPI_ACTIVE_LOW
	.comm	_ACPI_ACTIVE_HIGH,4,2           ## @ACPI_ACTIVE_HIGH
	.no_dead_strip	_pcc_map_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcc_map_interrupt
_pcc_map_interrupt:                     ; @pcc_map_interrupt
	.cfi_startproc
; %bb.0:
	cbz	w0, LBB0_2
; %bb.1:
	mov	x8, x0
Lloh0:
	adrp	x9, _ACPI_PCCT_INTERRUPT_MODE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ACPI_PCCT_INTERRUPT_MODE@GOTPAGEOFF]
Lloh2:
	adrp	x10, _ACPI_EDGE_SENSITIVE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _ACPI_EDGE_SENSITIVE@GOTPAGEOFF]
Lloh4:
	adrp	x11, _ACPI_LEVEL_SENSITIVE@GOTPAGE
Lloh5:
	ldr	x11, [x11, _ACPI_LEVEL_SENSITIVE@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w1
	csel	x9, x11, x10, eq
	ldr	w2, [x9]
Lloh7:
	adrp	x9, _ACPI_PCCT_INTERRUPT_POLARITY@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ACPI_PCCT_INTERRUPT_POLARITY@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	adrp	x10, _ACPI_ACTIVE_LOW@GOTPAGE
Lloh11:
	ldr	x10, [x10, _ACPI_ACTIVE_LOW@GOTPAGEOFF]
Lloh12:
	adrp	x11, _ACPI_ACTIVE_HIGH@GOTPAGE
Lloh13:
	ldr	x11, [x11, _ACPI_ACTIVE_HIGH@GOTPAGEOFF]
	tst	w9, w1
	csel	x9, x11, x10, eq
	ldr	w3, [x9]
	mov	x0, #0
	mov	x1, x8
	b	_acpi_register_gsi
LBB0_2:
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_PCCT_INTERRUPT_MODE,4,2   ; @ACPI_PCCT_INTERRUPT_MODE
	.comm	_ACPI_EDGE_SENSITIVE,4,2        ; @ACPI_EDGE_SENSITIVE
	.comm	_ACPI_LEVEL_SENSITIVE,4,2       ; @ACPI_LEVEL_SENSITIVE
	.comm	_ACPI_PCCT_INTERRUPT_POLARITY,4,2 ; @ACPI_PCCT_INTERRUPT_POLARITY
	.comm	_ACPI_ACTIVE_LOW,4,2            ; @ACPI_ACTIVE_LOW
	.comm	_ACPI_ACTIVE_HIGH,4,2           ; @ACPI_ACTIVE_HIGH
	.no_dead_strip	_pcc_map_interrupt
.subsections_via_symbols
