	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function saa7134_xc2028_callback
_saa7134_xc2028_callback:               ## @saa7134_xc2028_callback
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$128, %esi
	jne	LBB0_8
## %bb.1:
	movq	%rdi, %r14
	movq	_SAA7134_GPIO_GPSTATUS0@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	sarl	$2, %edi
	xorl	%ebx, %ebx
	movl	$32768, %esi                    ## imm = 0x8000
	xorl	%edx, %edx
	callq	_saa_andorl
	movl	(%r15), %edi
	sarl	$2, %edi
	movl	$32768, %esi                    ## imm = 0x8000
	movl	$32768, %edx                    ## imm = 0x8000
	callq	_saa_andorl
	movl	$-129, %eax
	addl	(%r14), %eax
	cmpl	$4, %eax
	ja	LBB0_9
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	$23, %esi
	xorl	%edx, %edx
	callq	_saa7134_set_gpio
	movl	$10, %edi
	callq	_msleep
	movq	%r14, %rdi
	movl	$23, %esi
	jmp	LBB0_4
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_7:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	$20, %esi
	xorl	%edx, %edx
	callq	_saa7134_set_gpio
	movl	$10, %edi
	callq	_msleep
	movq	%r14, %rdi
	movl	$20, %esi
	jmp	LBB0_4
LBB0_6:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	$18, %esi
	xorl	%edx, %edx
	callq	_saa7134_set_gpio
	movl	$10, %edi
	callq	_msleep
	movq	%r14, %rdi
	movl	$18, %esi
	jmp	LBB0_4
LBB0_5:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	$21, %esi
	xorl	%edx, %edx
	callq	_saa7134_set_gpio
	movl	$10, %edi
	callq	_msleep
	movq	%r14, %rdi
	movl	$21, %esi
LBB0_4:
	movl	$1, %edx
	callq	_saa7134_set_gpio
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_SAA7134_GPIO_GPSTATUS0,4,2     ## @SAA7134_GPIO_GPSTATUS0
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_saa7134_xc2028_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function saa7134_xc2028_callback
_saa7134_xc2028_callback:               ; @saa7134_xc2028_callback
	.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
	cmp	w1, #128
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x20, _SAA7134_GPIO_GPSTATUS0@GOTPAGE
Lloh1:
	ldr	x20, [x20, _SAA7134_GPIO_GPSTATUS0@GOTPAGEOFF]
	ldr	w8, [x20]
	asr	w0, w8, #2
	mov	w1, #32768
	mov	w2, #0
	bl	_saa_andorl
	ldr	w8, [x20]
	asr	w0, w8, #2
	mov	w1, #32768
	mov	w2, #32768
	bl	_saa_andorl
	ldr	w8, [x19]
	sub	w8, w8, #129
	cmp	w8, #4
	b.hi	LBB0_9
; %bb.2:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	mov	x0, x19
	mov	w1, #23
	mov	w2, #0
	bl	_saa7134_set_gpio
	mov	w0, #10
	bl	_msleep
	mov	x0, x19
	mov	w1, #23
	b	LBB0_8
LBB0_4:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_5:
	mov	x0, x19
	mov	w1, #20
	mov	w2, #0
	bl	_saa7134_set_gpio
	mov	w0, #10
	bl	_msleep
	mov	x0, x19
	mov	w1, #20
	b	LBB0_8
LBB0_6:
	mov	x0, x19
	mov	w1, #18
	mov	w2, #0
	bl	_saa7134_set_gpio
	mov	w0, #10
	bl	_msleep
	mov	x0, x19
	mov	w1, #18
	b	LBB0_8
LBB0_7:
	mov	x0, x19
	mov	w1, #21
	mov	w2, #0
	bl	_saa7134_set_gpio
	mov	w0, #10
	bl	_msleep
	mov	x0, x19
	mov	w1, #21
LBB0_8:
	mov	w2, #1
	bl	_saa7134_set_gpio
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
                                        ; -- End function
	.comm	_SAA7134_GPIO_GPSTATUS0,4,2     ; @SAA7134_GPIO_GPSTATUS0
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_saa7134_xc2028_callback
.subsections_via_symbols
