	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function saa7134_raw_decode_irq
_saa7134_raw_decode_irq:                ## @saa7134_raw_decode_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
	movq	(%rdi), %r14
	movq	_SAA7134_GPIO_GPMODE3@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_SAA7134_GPIO_GPRESCAN@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_saa_clearb
	movl	(%r15), %edi
	movl	(%r12), %esi
	callq	_saa_setb
	movq	_SAA7134_GPIO_GPSTATUS0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	sarl	$2, %edi
	callq	_saa_readl
	movq	(%rbx), %rcx
	movl	12(%rcx), %edi
	andl	(%r14), %eax
	jne	LBB0_1
## %bb.2:
	movq	_IR_PULSE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_IR_SPACE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	callq	_ir_raw_event_store_edge
	cmpl	$0, 4(%r14)
	jne	LBB0_5
## %bb.4:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	$15, %edi
	callq	_jiffies_to_msecs
	addq	%rax, %rbx
	leaq	8(%r14), %rdi
	movq	%rbx, %rsi
	callq	_mod_timer
	movl	$1, 4(%r14)
LBB0_5:
	movl	$1, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SAA7134_GPIO_GPMODE3,4,2       ## @SAA7134_GPIO_GPMODE3
	.comm	_SAA7134_GPIO_GPRESCAN,4,2      ## @SAA7134_GPIO_GPRESCAN
	.comm	_SAA7134_GPIO_GPSTATUS0,4,2     ## @SAA7134_GPIO_GPSTATUS0
	.comm	_IR_SPACE,4,2                   ## @IR_SPACE
	.comm	_IR_PULSE,4,2                   ## @IR_PULSE
	.comm	_jiffies,8,3                    ## @jiffies
	.no_dead_strip	_saa7134_raw_decode_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function saa7134_raw_decode_irq
_saa7134_raw_decode_irq:                ; @saa7134_raw_decode_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
	ldr	x20, [x0]
Lloh0:
	adrp	x21, _SAA7134_GPIO_GPMODE3@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SAA7134_GPIO_GPMODE3@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x22, _SAA7134_GPIO_GPRESCAN@GOTPAGE
Lloh3:
	ldr	x22, [x22, _SAA7134_GPIO_GPRESCAN@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_saa_clearb
	ldr	w0, [x21]
	ldr	w1, [x22]
	bl	_saa_setb
Lloh4:
	adrp	x8, _SAA7134_GPIO_GPSTATUS0@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SAA7134_GPIO_GPSTATUS0@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	asr	w0, w8, #2
	bl	_saa_readl
	ldr	w9, [x20]
	ldr	x8, [x19]
Lloh7:
	adrp	x10, _IR_SPACE@GOTPAGE
Lloh8:
	ldr	x10, [x10, _IR_SPACE@GOTPAGEOFF]
	ldr	w8, [x8, #12]
Lloh9:
	adrp	x11, _IR_PULSE@GOTPAGE
Lloh10:
	ldr	x11, [x11, _IR_PULSE@GOTPAGEOFF]
	tst	w9, w0
	csel	x9, x11, x10, eq
	ldr	w1, [x9]
	mov	x0, x8
	bl	_ir_raw_event_store_edge
	ldr	w8, [x20, #4]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh11:
	adrp	x8, _jiffies@GOTPAGE
Lloh12:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh13:
	ldr	x19, [x8]
	mov	w0, #15
	bl	_jiffies_to_msecs
	add	x1, x0, x19
	add	x0, x20, #8
	bl	_mod_timer
	mov	w8, #1
	str	w8, [x20, #4]
LBB0_2:
	mov	w0, #1
	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 AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_SAA7134_GPIO_GPMODE3,4,2       ; @SAA7134_GPIO_GPMODE3
	.comm	_SAA7134_GPIO_GPRESCAN,4,2      ; @SAA7134_GPIO_GPRESCAN
	.comm	_SAA7134_GPIO_GPSTATUS0,4,2     ; @SAA7134_GPIO_GPSTATUS0
	.comm	_IR_SPACE,4,2                   ; @IR_SPACE
	.comm	_IR_PULSE,4,2                   ; @IR_PULSE
	.comm	_jiffies,8,3                    ; @jiffies
	.no_dead_strip	_saa7134_raw_decode_irq
.subsections_via_symbols
