	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov9640_res_roundup
_ov9640_res_roundup:                    ## @ov9640_res_roundup
	.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	%rsi, %r14
	movq	%rdi, %r15
	leaq	_ov9640_res_roundup.res_x(%rip), %r12
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$4, %rbx
	cmpq	%rax, %r13
	jae	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%r12), %eax
	cmpl	(%r15), %eax
	jl	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	_ov9640_res_roundup.res_y(%rip), %rcx
	movl	(%rbx,%rcx), %ecx
	cmpl	(%r14), %ecx
	jl	LBB0_4
	jmp	LBB0_6
LBB0_5:
	movl	$1280, %eax                     ## imm = 0x500
	movl	$960, %ecx                      ## imm = 0x3C0
LBB0_6:
	movl	%eax, (%r15)
	movl	%ecx, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @ov9640_res_roundup.res_x
_ov9640_res_roundup.res_x:
	.long	88                              ## 0x58
	.long	160                             ## 0xa0
	.long	176                             ## 0xb0
	.long	320                             ## 0x140
	.long	352                             ## 0x160
	.long	640                             ## 0x280
	.long	1280                            ## 0x500

	.p2align	4                               ## @ov9640_res_roundup.res_y
_ov9640_res_roundup.res_y:
	.long	72                              ## 0x48
	.long	120                             ## 0x78
	.long	144                             ## 0x90
	.long	240                             ## 0xf0
	.long	288                             ## 0x120
	.long	480                             ## 0x1e0
	.long	960                             ## 0x3c0

	.no_dead_strip	_ov9640_res_roundup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ov9640_res_roundup
_ov9640_res_roundup:                    ; @ov9640_res_roundup
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _ov9640_res_roundup.res_x@PAGE
Lloh1:
	add	x21, x21, _ov9640_res_roundup.res_x@PAGEOFF
	mov	x0, x21
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_5
; %bb.1:
	mov	x22, #0
Lloh2:
	adrp	x23, _ov9640_res_roundup.res_y@PAGE
Lloh3:
	add	x23, x23, _ov9640_res_roundup.res_y@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	mov	x0, x21
	bl	_ARRAY_SIZE
	cmp	x22, w0, uxtw
	b.hs	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21, x22, lsl #2]
	ldr	w9, [x20]
	cmp	w8, w9
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x23, x22, lsl #2]
	ldr	w10, [x19]
	cmp	w9, w10
	b.lt	LBB0_2
	b	LBB0_6
LBB0_5:
	mov	w9, #960
	mov	w8, #1280
LBB0_6:
	str	w8, [x20]
	str	w9, [x19]
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @ov9640_res_roundup.res_x
_ov9640_res_roundup.res_x:
	.long	88                              ; 0x58
	.long	160                             ; 0xa0
	.long	176                             ; 0xb0
	.long	320                             ; 0x140
	.long	352                             ; 0x160
	.long	640                             ; 0x280
	.long	1280                            ; 0x500

	.p2align	2                               ; @ov9640_res_roundup.res_y
_ov9640_res_roundup.res_y:
	.long	72                              ; 0x48
	.long	120                             ; 0x78
	.long	144                             ; 0x90
	.long	240                             ; 0xf0
	.long	288                             ; 0x120
	.long	480                             ; 0x1e0
	.long	960                             ; 0x3c0

	.no_dead_strip	_ov9640_res_roundup
.subsections_via_symbols
