	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function saa7146_set_output_format
_saa7146_set_output_format:             ## @saa7146_set_output_format
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_CLIP_FORMAT_CTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_saa7146_read
	movl	%eax, -28(%rbp)
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_calculate_output_format_register
	movl	(%r15), %esi
	movl	-28(%rbp), %edx
	movq	%rbx, %rdi
	callq	_saa7146_write
	movq	_MC2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MASK_05@GOTPCREL(%rip), %rax
	movq	_MASK_21@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_saa7146_write
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLIP_FORMAT_CTRL,4,2           ## @CLIP_FORMAT_CTRL
	.comm	_MC2,4,2                        ## @MC2
	.comm	_MASK_05,4,2                    ## @MASK_05
	.comm	_MASK_21,4,2                    ## @MASK_21
	.no_dead_strip	_saa7146_set_output_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function saa7146_set_output_format
_saa7146_set_output_format:             ; @saa7146_set_output_format
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _CLIP_FORMAT_CTRL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CLIP_FORMAT_CTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_saa7146_read
	str	w0, [sp, #12]
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_calculate_output_format_register
	ldr	w1, [x21]
	ldr	w2, [sp, #12]
	mov	x0, x20
	bl	_saa7146_write
Lloh2:
	adrp	x8, _MC2@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MC2@GOTPAGEOFF]
Lloh4:
	adrp	x9, _MASK_05@GOTPAGE
Lloh5:
	ldr	x9, [x9, _MASK_05@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	ldr	w8, [x9]
Lloh8:
	adrp	x9, _MASK_21@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MASK_21@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x20
	bl	_saa7146_write
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CLIP_FORMAT_CTRL,4,2           ; @CLIP_FORMAT_CTRL
	.comm	_MC2,4,2                        ; @MC2
	.comm	_MASK_05,4,2                    ; @MASK_05
	.comm	_MASK_21,4,2                    ; @MASK_21
	.no_dead_strip	_saa7146_set_output_format
.subsections_via_symbols
