	.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
	xorl	%esi, %esi
	andl	(%r14), %eax
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	sete	%sil
	callq	_ir_raw_event_store_edge
	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
	.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]
	ldr	w8, [x8, #4]
	tst	w9, w0
	cset	w1, eq
	mov	x0, x8
	bl	_ir_raw_event_store_edge
	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 AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.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
	.no_dead_strip	_saa7134_raw_decode_irq
.subsections_via_symbols
