	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt9t112_set_a_frame_size
_mt9t112_set_a_frame_size:              ## @mt9t112_set_a_frame_size
	.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
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	_MAX_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subl	%esi, %eax
	movl	%eax, %r13d
	shrl	$31, %r13d
	addl	%eax, %r13d
	sarl	%r13d
	movq	_MAX_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subl	%edx, %eax
	movl	%eax, %ebx
	shrl	$31, %ebx
	addl	%eax, %ebx
	sarl	%ebx
	movl	$26, %edi
	xorl	%esi, %esi
	callq	_VAR
	movq	%r12, %rsi
	movl	%eax, %edx
	movl	%r14d, %ecx
	callq	_mt9t112_mcu_write
	movl	$26, %edi
	movl	$2, %esi
	callq	_VAR
	movq	%r12, %rsi
	movl	%eax, %edx
	movl	%r15d, %ecx
	callq	_mt9t112_mcu_write
	movl	$18, %edi
	movl	$43, %esi
	callq	_VAR
	leal	8(%r14), %ecx
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_mt9t112_mcu_write
	movl	$18, %edi
	movl	$45, %esi
	callq	_VAR
	leal	8(%r15), %ecx
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_mt9t112_mcu_write
	movl	$18, %edi
	movl	$2, %esi
	callq	_VAR
	leal	4(%rbx), %ecx
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_mt9t112_mcu_write
	movl	$18, %edi
	movl	$4, %esi
	callq	_VAR
	leal	4(%r13), %ecx
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_mt9t112_mcu_write
	movl	$18, %edi
	movl	$6, %esi
	callq	_VAR
	leal	(%r15,%rbx), %ecx
	addl	$11, %ecx
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_mt9t112_mcu_write
	movl	$18, %edi
	movl	$8, %esi
	callq	_VAR
	leal	(%r14,%r13), %ecx
	addl	$11, %ecx
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_mt9t112_mcu_write
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_VAR8
	movq	%r12, %rsi
	movl	%eax, %edx
	movl	$6, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mt9t112_mcu_write              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_WIDTH,4,2                  ## @MAX_WIDTH
	.comm	_MAX_HEIGHT,4,2                 ## @MAX_HEIGHT
	.no_dead_strip	_mt9t112_set_a_frame_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt9t112_set_a_frame_size
_mt9t112_set_a_frame_size:              ; @mt9t112_set_a_frame_size
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _MAX_WIDTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_WIDTH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w8, w1
	cmp	w8, #0
	cinc	w8, w8, lt
Lloh3:
	adrp	x9, _MAX_HEIGHT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX_HEIGHT@GOTPAGEOFF]
	asr	w22, w8, #1
Lloh5:
	ldr	w8, [x9]
	sub	w8, w8, w2
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w23, w8, #1
	mov	w0, #26
	mov	w1, #0
	bl	_VAR
	mov	x1, x19
	mov	x2, x0
	mov	x3, x20
	bl	_mt9t112_mcu_write
	mov	w0, #26
	mov	w1, #2
	bl	_VAR
	mov	x1, x19
	mov	x2, x0
	mov	x3, x21
	bl	_mt9t112_mcu_write
	mov	w0, #18
	mov	w1, #43
	bl	_VAR
	add	w3, w20, #8
	mov	x1, x19
	mov	x2, x0
	bl	_mt9t112_mcu_write
	mov	w0, #18
	mov	w1, #45
	bl	_VAR
	add	w3, w21, #8
	mov	x1, x19
	mov	x2, x0
	bl	_mt9t112_mcu_write
	mov	w0, #18
	mov	w1, #2
	bl	_VAR
	add	w3, w23, #4
	mov	x1, x19
	mov	x2, x0
	bl	_mt9t112_mcu_write
	mov	w0, #18
	mov	w1, #4
	bl	_VAR
	add	w3, w22, #4
	mov	x1, x19
	mov	x2, x0
	bl	_mt9t112_mcu_write
	mov	w0, #18
	mov	w1, #6
	bl	_VAR
	add	w8, w21, w23
	add	w3, w8, #11
	mov	x1, x19
	mov	x2, x0
	bl	_mt9t112_mcu_write
	mov	w0, #18
	mov	w1, #8
	bl	_VAR
	add	w8, w20, w22
	add	w3, w8, #11
	mov	x1, x19
	mov	x2, x0
	bl	_mt9t112_mcu_write
	mov	w0, #1
	mov	w1, #0
	bl	_VAR8
	mov	x1, x19
	mov	x2, x0
	mov	w3, #6
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_mt9t112_mcu_write
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_WIDTH,4,2                  ; @MAX_WIDTH
	.comm	_MAX_HEIGHT,4,2                 ; @MAX_HEIGHT
	.no_dead_strip	_mt9t112_set_a_frame_size
.subsections_via_symbols
