	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxusb_medion_cf_refc_line_smpl
_cxusb_medion_cf_refc_line_smpl:        ## @cxusb_medion_cf_refc_line_smpl
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_CXUSB_BT656_SEAV_MASK@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	andb	3(%r8), %al
	movl	%ecx, %r12d
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_CXUSB_BT656_SEAV_SAV@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_2
## %bb.1:
	movq	_BT656@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movsbl	4(%rbx), %ecx
	movl	24(%rbx), %r8d
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_cxusb_vprintk
LBB0_2:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.3:
	movl	(%rbx), %eax
	cmpl	%r12d, %eax
	je	LBB0_5
## %bb.4:
	movl	%r12d, %r13d
	subl	%eax, %r13d
	xorl	%esi, %esi
	movl	%r13d, %edx
	callq	_memset
	addq	%r13, 16(%rbx)
	movq	_BT656@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %r8d
	movl	%r12d, (%rsp)
	cmpl	$1, %r15d
	movl	$0, %ecx
	adcl	$49, %ecx
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	%r13d, %r9d
	xorl	%eax, %eax
	callq	_cxusb_vprintk
LBB0_5:
	movq	_START_SEARCH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	incl	4(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CXUSB_BT656_SEAV_MASK,1,0      ## @CXUSB_BT656_SEAV_MASK
	.comm	_CXUSB_BT656_SEAV_SAV,1,0       ## @CXUSB_BT656_SEAV_SAV
	.comm	_BT656,4,2                      ## @BT656
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SAV in line samples @ line %u, pos %u\n"

L_.str.1:                               ## @.str.1
	.asciz	"field %c line %u %u samples still remaining (of %u)\n"

	.comm	_START_SEARCH,4,2               ## @START_SEARCH
	.no_dead_strip	_cxusb_medion_cf_refc_line_smpl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cxusb_medion_cf_refc_line_smpl
_cxusb_medion_cf_refc_line_smpl:        ; @cxusb_medion_cf_refc_line_smpl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldrb	w8, [x4, #3]
Lloh0:
	adrp	x9, _CXUSB_BT656_SEAV_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CXUSB_BT656_SEAV_MASK@GOTPAGEOFF]
	ldrb	w9, [x9]
	and	w8, w9, w8
Lloh2:
	adrp	x9, _CXUSB_BT656_SEAV_SAV@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CXUSB_BT656_SEAV_SAV@GOTPAGEOFF]
	ldrb	w9, [x9]
Lloh4:
	adrp	x24, _BT656@GOTPAGE
Lloh5:
	ldr	x24, [x24, _BT656@GOTPAGEOFF]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	ldr	w1, [x24]
	ldrsb	w3, [x19, #4]
	ldr	w4, [x19, #24]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_cxusb_vprintk
LBB0_2:
	ldr	w8, [x19]
	ldr	x0, [x19, #16]
	cmp	x0, #0
	ccmp	w8, w22, #4, ne
	b.eq	LBB0_4
; %bb.3:
	sub	w23, w22, w8
	mov	w1, #0
	mov	x2, x23
	bl	_memset
	ldr	x8, [x19, #16]
	add	x8, x8, x23
	str	x8, [x19, #16]
	ldr	w1, [x24]
	ldr	w4, [x19, #4]
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	stp	x23, x22, [sp]
	cmp	w21, #0
	mov	w8, #49
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	cinc	w3, w8, eq
	mov	x0, x20
	bl	_cxusb_vprintk
LBB0_4:
Lloh10:
	adrp	x8, _START_SEARCH@GOTPAGE
Lloh11:
	ldr	x8, [x8, _START_SEARCH@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	add	w9, w9, #1
	stp	w9, w8, [x19, #4]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_CXUSB_BT656_SEAV_MASK,1,0      ; @CXUSB_BT656_SEAV_MASK
	.comm	_CXUSB_BT656_SEAV_SAV,1,0       ; @CXUSB_BT656_SEAV_SAV
	.comm	_BT656,4,2                      ; @BT656
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SAV in line samples @ line %u, pos %u\n"

l_.str.1:                               ; @.str.1
	.asciz	"field %c line %u %u samples still remaining (of %u)\n"

	.comm	_START_SEARCH,4,2               ; @START_SEARCH
	.no_dead_strip	_cxusb_medion_cf_refc_line_smpl
.subsections_via_symbols
