	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_hid_init_irq
_i2c_hid_init_irq:                      ## @i2c_hid_init_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_i2c_get_clientdata
	movq	%rax, %r15
	leaq	8(%rbx), %r14
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_dbg
	movl	(%rbx), %edi
	callq	_irq_get_trigger_type
	xorl	%r12d, %r12d
	movl	$0, %ecx
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_IRQF_TRIGGER_LOW@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
LBB0_2:
	movq	_i2c_hid_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rax
	orq	(%rax), %rcx
	movl	(%rbx), %edi
	movl	4(%rbx), %r8d
	xorl	%esi, %esi
	movq	%r15, %r9
	callq	_request_threaded_irq
	testl	%eax, %eax
	jns	LBB0_4
## %bb.3:
	movl	%eax, %r15d
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %r8d
	callq	_dev_warn
	movl	%r15d, %r12d
LBB0_4:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Requesting IRQ: %d\n"

	.comm	_IRQF_TRIGGER_LOW,8,3           ## @IRQF_TRIGGER_LOW
	.comm	_i2c_hid_irq,4,2                ## @i2c_hid_irq
	.comm	_IRQF_ONESHOT,8,3               ## @IRQF_ONESHOT
L_.str.1:                               ## @.str.1
	.asciz	"Could not register for %s interrupt, irq = %d, ret = %d\n"

	.no_dead_strip	_i2c_hid_init_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2c_hid_init_irq
_i2c_hid_init_irq:                      ; @i2c_hid_init_irq
	.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, x0
	bl	_i2c_get_clientdata
	mov	x21, x0
	add	x20, x19, #8
	ldr	w2, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	ldr	w0, [x19]
	bl	_irq_get_trigger_type
Lloh2:
	adrp	x8, _IRQF_TRIGGER_LOW@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IRQF_TRIGGER_LOW@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	w0, #0
	csel	x8, x8, xzr, eq
Lloh5:
	adrp	x9, _i2c_hid_irq@GOTPAGE
Lloh6:
	ldr	x9, [x9, _i2c_hid_irq@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x9]
Lloh8:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	orr	x3, x9, x8
	ldp	w0, w4, [x19]
	mov	x1, #0
	mov	x5, x21
	bl	_request_threaded_irq
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	w21, #0
	b	LBB0_3
LBB0_2:
	mov	x21, x0
	ldp	w3, w2, [x19]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x4, x21
	bl	_dev_warn
LBB0_3:
	mov	x0, x21
	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	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Requesting IRQ: %d\n"

	.comm	_IRQF_TRIGGER_LOW,8,3           ; @IRQF_TRIGGER_LOW
	.comm	_i2c_hid_irq,4,2                ; @i2c_hid_irq
	.comm	_IRQF_ONESHOT,8,3               ; @IRQF_ONESHOT
l_.str.1:                               ; @.str.1
	.asciz	"Could not register for %s interrupt, irq = %d, ret = %d\n"

	.no_dead_strip	_i2c_hid_init_irq
.subsections_via_symbols
