	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hideep_irq
_hideep_irq:                            ## @hideep_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	_HIDEEP_MAX_EVENT@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movq	_HIDEEP_XFER_BUF_SIZE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	setg	%dil
	callq	_BUILD_BUG_ON
	movl	8(%rbx), %edx
	movl	12(%rbx), %edi
	movq	_HIDEEP_EVENT_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	callq	_regmap_bulk_read
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_hideep_parse_and_report
LBB0_3:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HIDEEP_MAX_EVENT,4,2           ## @HIDEEP_MAX_EVENT
	.comm	_HIDEEP_XFER_BUF_SIZE,4,2       ## @HIDEEP_XFER_BUF_SIZE
	.comm	_HIDEEP_EVENT_ADDR,4,2          ## @HIDEEP_EVENT_ADDR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to read events: %d\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_hideep_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hideep_irq
_hideep_irq:                            ; @hideep_irq
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x20, _HIDEEP_MAX_EVENT@GOTPAGE
Lloh1:
	ldr	x20, [x20, _HIDEEP_MAX_EVENT@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _HIDEEP_XFER_BUF_SIZE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HIDEEP_XFER_BUF_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, gt
	bl	_BUILD_BUG_ON
Lloh5:
	adrp	x8, _HIDEEP_EVENT_ADDR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HIDEEP_EVENT_ADDR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldp	w2, w0, [x19, #8]
	ldr	w8, [x20]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w3, w8, #1
	bl	_regmap_bulk_read
	cbz	w0, LBB0_2
; %bb.1:
	mov	x2, x0
	ldr	x0, [x19]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_hideep_parse_and_report
LBB0_3:
Lloh10:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_HIDEEP_MAX_EVENT,4,2           ; @HIDEEP_MAX_EVENT
	.comm	_HIDEEP_XFER_BUF_SIZE,4,2       ; @HIDEEP_XFER_BUF_SIZE
	.comm	_HIDEEP_EVENT_ADDR,4,2          ; @HIDEEP_EVENT_ADDR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to read events: %d\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_hideep_irq
.subsections_via_symbols
