	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tis_int_handler
_tis_int_handler:                       ## @tis_int_handler
	.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
	movq	%rsi, %r15
	movq	8(%rsi), %rbx
	movl	(%rsi), %edi
	callq	_TPM_INT_STATUS
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_ioread32
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %r14d
	movq	_TPM_INTF_DATA_AVAIL_INT@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	20(%r15), %rdi
	callq	_wake_up_interruptible
LBB0_4:
	movq	_TPM_INTF_LOCALITY_CHANGE_INT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	testl	%r14d, %eax
	je	LBB0_11
## %bb.5:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_check_locality
	testq	%rax, %rax
	jns	LBB0_10
## %bb.6:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_check_locality
	testq	%rax, %rax
	jns	LBB0_10
## %bb.7:
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_check_locality
	testq	%rax, %rax
	jns	LBB0_10
## %bb.8:
	movq	%r15, %rdi
	movl	$3, %esi
	callq	_check_locality
	testq	%rax, %rax
	jns	LBB0_10
## %bb.9:
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_check_locality
LBB0_10:
	movl	(%rbx), %eax
LBB0_11:
	movq	_TPM_INTF_STS_VALID_INT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_TPM_INTF_CMD_READY_INT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	testl	%r14d, %eax
	je	LBB0_13
## %bb.12:
	leaq	16(%r15), %rdi
	callq	_wake_up_interruptible
LBB0_13:
	movq	8(%r15), %rbx
	movl	(%r15), %edi
	callq	_TPM_INT_STATUS
	addq	%rax, %rbx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_iowrite32
	movq	8(%r15), %rbx
	movl	(%r15), %edi
	callq	_TPM_INT_STATUS
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_ioread32
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_TPM_INTF_DATA_AVAIL_INT,4,2    ## @TPM_INTF_DATA_AVAIL_INT
	.comm	_TPM_INTF_LOCALITY_CHANGE_INT,4,2 ## @TPM_INTF_LOCALITY_CHANGE_INT
	.comm	_TPM_INTF_STS_VALID_INT,4,2     ## @TPM_INTF_STS_VALID_INT
	.comm	_TPM_INTF_CMD_READY_INT,4,2     ## @TPM_INTF_CMD_READY_INT
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_tis_int_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tis_int_handler
_tis_int_handler:                       ; @tis_int_handler
	.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
	ldr	x20, [x1, #8]
	ldr	w0, [x1]
	bl	_TPM_INT_STATUS
	add	x0, x0, x20
	bl	_ioread32
	cbz	w0, LBB0_13
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x8, _TPM_INTF_DATA_AVAIL_INT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TPM_INTF_DATA_AVAIL_INT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
	add	x0, x19, #20
	bl	_wake_up_interruptible
LBB0_3:
Lloh3:
	adrp	x21, _TPM_INTF_LOCALITY_CHANGE_INT@GOTPAGE
Lloh4:
	ldr	x21, [x21, _TPM_INTF_LOCALITY_CHANGE_INT@GOTPAGEOFF]
	ldr	w8, [x21]
	tst	w8, w20
	b.eq	LBB0_10
; %bb.4:
	mov	x0, x19
	mov	w1, #0
	bl	_check_locality
	tbz	x0, #63, LBB0_9
; %bb.5:
	mov	x0, x19
	mov	w1, #1
	bl	_check_locality
	tbz	x0, #63, LBB0_9
; %bb.6:
	mov	x0, x19
	mov	w1, #2
	bl	_check_locality
	tbz	x0, #63, LBB0_9
; %bb.7:
	mov	x0, x19
	mov	w1, #3
	bl	_check_locality
	tbz	x0, #63, LBB0_9
; %bb.8:
	mov	x0, x19
	mov	w1, #4
	bl	_check_locality
LBB0_9:
	ldr	w8, [x21]
LBB0_10:
Lloh5:
	adrp	x9, _TPM_INTF_STS_VALID_INT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TPM_INTF_STS_VALID_INT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh8:
	adrp	x9, _TPM_INTF_CMD_READY_INT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _TPM_INTF_CMD_READY_INT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w8, w9
	tst	w8, w20
	b.eq	LBB0_12
; %bb.11:
	add	x0, x19, #16
	bl	_wake_up_interruptible
LBB0_12:
	ldr	x21, [x19, #8]
	ldr	w0, [x19]
	bl	_TPM_INT_STATUS
	add	x1, x0, x21
	mov	x0, x20
	bl	_iowrite32
	ldr	x20, [x19, #8]
	ldr	w0, [x19]
	bl	_TPM_INT_STATUS
	add	x0, x0, x20
	bl	_ioread32
Lloh11:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh13:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_TPM_INTF_DATA_AVAIL_INT,4,2    ; @TPM_INTF_DATA_AVAIL_INT
	.comm	_TPM_INTF_LOCALITY_CHANGE_INT,4,2 ; @TPM_INTF_LOCALITY_CHANGE_INT
	.comm	_TPM_INTF_STS_VALID_INT,4,2     ; @TPM_INTF_STS_VALID_INT
	.comm	_TPM_INTF_CMD_READY_INT,4,2     ; @TPM_INTF_CMD_READY_INT
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_tis_int_handler
.subsections_via_symbols
