	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function st95hf_irq_thread_handler
_st95hf_irq_thread_handler:             ## @st95hf_irq_thread_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	24(%rsi), %r13
	leaq	4(%rsi), %r14
	movq	%r14, %rdi
	callq	_down_trylock
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	24(%rbx), %r12
	movq	48(%rbx), %r15
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	(%r15), %rsi
	movq	%r12, %rdi
	callq	_st95hf_spi_recv_response
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	cmpq	$0, 16(%rbx)
	je	LBB0_7
## %bb.5:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_6
LBB0_1:
	movq	%r14, %rdi
	callq	_up
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_WARN
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	movl	%r12d, %edx
	callq	_dev_err
	movl	%r12d, %r13d
LBB0_6:
	movq	%r15, %rdi
	callq	_kfree_skb
	movb	$0, _st95hf_irq_thread_handler.wtx(%rip)
	movl	$0, 32(%rbx)
	movl	%r13d, %edi
	callq	_ERR_PTR
	movl	8(%rbx), %edi
	movl	36(%rbx), %esi
	movq	%rax, %rdx
LBB0_15:
	callq	*40(%rbx)
	movq	%r14, %rdi
	callq	_up
LBB0_16:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	(%r15), %rax
	movq	16(%rax), %rcx
	movq	_WTX_REQ_FROM_TAG@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_10
## %bb.8:
	movq	24(%rax), %rdx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_st95hf_handle_wtx
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.9:
	movb	$1, _st95hf_irq_thread_handler.wtx(%rip)
	jmp	LBB0_16
LBB0_10:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_st95hf_error_handling
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.11:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_st95hf_response_handler
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.12:
	cmpb	$1, _st95hf_irq_thread_handler.wtx(%rip)
	jne	LBB0_14
## %bb.13:
	movb	$0, _st95hf_irq_thread_handler.wtx(%rip)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_st95hf_handle_wtx
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_6
LBB0_14:
	movl	8(%rbx), %edi
	movl	36(%rbx), %esi
	movq	%r15, %rdx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_st95hf_irq_thread_handler.wtx,1,2 ## @st95hf_irq_thread_handler.wtx
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown context in ST95HF ISR"

	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
L_.str.1:                               ## @.str.1
	.asciz	"TISR spi response err = 0x%x\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_WTX_REQ_FROM_TAG,8,3           ## @WTX_REQ_FROM_TAG
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_st95hf_irq_thread_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function st95hf_irq_thread_handler
_st95hf_irq_thread_handler:             ; @st95hf_irq_thread_handler
	.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	x19, x1
	mov	x22, x1
	ldr	x23, [x22, #24]!
	sub	x20, x22, #20
	mov	x0, x20
	bl	_down_trylock
	cbz	w0, LBB0_4
; %bb.1:
	ldr	x21, [x19, #48]
	mov	x0, x19
	bl	_mutex_lock
	ldr	x1, [x21]
	mov	x0, x22
	bl	_st95hf_spi_recv_response
	mov	x22, x0
	tbnz	w0, #31, LBB0_5
; %bb.2:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_10
; %bb.3:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_6
LBB0_4:
	mov	x0, x20
	bl	_up
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_WARN
Lloh5:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	mov	x2, x22
	bl	_dev_err
	mov	x23, x22
LBB0_6:
	mov	x0, x21
	bl	_kfree_skb
	adrp	x8, _st95hf_irq_thread_handler.wtx@PAGE
	strb	wzr, [x8, _st95hf_irq_thread_handler.wtx@PAGEOFF]
	str	wzr, [x19, #32]
	mov	x0, x23
	bl	_ERR_PTR
	mov	x2, x0
	ldr	x8, [x19, #40]
	ldr	w0, [x19, #8]
	ldr	w1, [x19, #36]
LBB0_7:
	blr	x8
	mov	x0, x20
	bl	_up
LBB0_8:
	mov	x0, x19
	bl	_mutex_unlock
Lloh9:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	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
LBB0_10:
	ldr	x8, [x21]
	ldr	x9, [x8, #16]
Lloh11:
	adrp	x10, _WTX_REQ_FROM_TAG@GOTPAGE
Lloh12:
	ldr	x10, [x10, _WTX_REQ_FROM_TAG@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_13
; %bb.11:
	ldr	x2, [x8, #24]
	mov	w22, #1
	mov	x0, x19
	mov	w1, #1
	bl	_st95hf_handle_wtx
	mov	x23, x0
	cbnz	w0, LBB0_6
; %bb.12:
	adrp	x8, _st95hf_irq_thread_handler.wtx@PAGE
	strb	w22, [x8, _st95hf_irq_thread_handler.wtx@PAGEOFF]
	b	LBB0_8
LBB0_13:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_st95hf_error_handling
	mov	x23, x0
	cbnz	w0, LBB0_6
; %bb.14:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_st95hf_response_handler
	mov	x23, x0
	cbnz	w0, LBB0_6
; %bb.15:
	adrp	x8, _st95hf_irq_thread_handler.wtx@PAGE
	ldrb	w9, [x8, _st95hf_irq_thread_handler.wtx@PAGEOFF]
	cmp	w9, #1
	b.ne	LBB0_17
; %bb.16:
	strb	wzr, [x8, _st95hf_irq_thread_handler.wtx@PAGEOFF]
	mov	x0, x19
	mov	w1, #0
	mov	x2, #0
	bl	_st95hf_handle_wtx
	mov	x23, x0
	cbnz	w0, LBB0_6
LBB0_17:
	ldr	x8, [x19, #40]
	ldr	w0, [x19, #8]
	ldr	w1, [x19, #36]
	mov	x2, x21
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_st95hf_irq_thread_handler.wtx,1,2 ; @st95hf_irq_thread_handler.wtx
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown context in ST95HF ISR"

	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
l_.str.1:                               ; @.str.1
	.asciz	"TISR spi response err = 0x%x\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_WTX_REQ_FROM_TAG,8,3           ; @WTX_REQ_FROM_TAG
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_st95hf_irq_thread_handler
.subsections_via_symbols
