	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function saa7164_bus_verify
_saa7164_bus_verify:                    ## @saa7164_bus_verify
	.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
	movq	%rdi, %r14
	movl	28(%rdi), %edi
	callq	_saa7164_readl
	xorl	%ebx, %ebx
	cmpq	(%r14), %rax
	setg	%bl
	movl	24(%r14), %edi
	callq	_saa7164_readl
	cmpq	(%r14), %rax
	leal	1(%rbx), %r15d
	cmovlel	%ebx, %r15d
	movl	20(%r14), %edi
	callq	_saa7164_readl
	xorl	%ebx, %ebx
	cmpq	8(%r14), %rax
	setg	%bl
	addl	%r15d, %ebx
	movl	16(%r14), %edi
	callq	_saa7164_readl
	xorl	%ecx, %ecx
	cmpq	8(%r14), %rax
	setg	%cl
	negl	%ecx
	cmpl	%ecx, %ebx
	jne	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_saa_debug@GOTPCREL(%rip), %rbx
	movl	$65535, (%rbx)                  ## imm = 0xFFFF
	movq	%r14, %rdi
	callq	_saa7164_bus_dump
	movl	$1024, (%rbx)                   ## imm = 0x400
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BUG                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_saa_debug,4,2                  ## @saa_debug
	.no_dead_strip	_saa7164_bus_verify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function saa7164_bus_verify
_saa7164_bus_verify:                    ; @saa7164_bus_verify
	.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	w0, [x0, #28]
	bl	_saa7164_readl
	mov	x20, x0
	ldr	x21, [x19]
	ldr	w0, [x19, #24]
	bl	_saa7164_readl
	cmp	x20, x21
	cset	w8, gt
	ldr	x9, [x19]
	mov	w10, #1
	cinc	w10, w10, gt
	cmp	x0, x9
	csel	w20, w10, w8, gt
	ldr	w0, [x19, #20]
	bl	_saa7164_readl
	ldr	x8, [x19, #8]
	cmp	x0, x8
	cinc	w20, w20, gt
	ldr	w0, [x19, #16]
	bl	_saa7164_readl
	ldr	x8, [x19, #8]
	cmp	x0, x8
	csetm	w8, gt
	cmp	w20, w8
	b.ne	LBB0_2
; %bb.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
LBB0_2:
Lloh0:
	adrp	x20, _saa_debug@GOTPAGE
Lloh1:
	ldr	x20, [x20, _saa_debug@GOTPAGEOFF]
	mov	w8, #65535
	str	w8, [x20]
	mov	x0, x19
	bl	_saa7164_bus_dump
	mov	w8, #1024
	str	w8, [x20]
	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
	b	_BUG
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_saa_debug,4,2                  ; @saa_debug
	.no_dead_strip	_saa7164_bus_verify
.subsections_via_symbols
