	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function camif_get_dma_burst
_camif_get_dma_burst:                   ## @camif_get_dma_burst
	.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	%rcx, %r14
	movq	%rdx, %r15
                                        ## kill: def $esi killed $esi def $rsi
	imull	%edi, %esi
	leal	3(%rsi), %ebx
	testl	%esi, %esi
	cmovnsl	%esi, %ebx
	cmpl	$8, %edi
	setl	%al
	testb	$7, %sil
	setne	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_19
## %bb.1:
	sarl	$2, %ebx
	cmpl	$16, %ebx
	jb	LBB0_7
## %bb.2:
	movl	$16, %eax
	movl	%ebx, %ecx
	andl	$15, %ecx
	je	LBB0_3
## %bb.4:
	cmpl	$8, %ecx
	je	LBB0_6
## %bb.5:
	cmpl	$4, %ecx
	je	LBB0_6
LBB0_7:
	cmpl	$8, %ebx
	jb	LBB0_12
## %bb.8:
	movl	$8, %eax
	movl	%ebx, %ecx
	andl	$7, %ecx
	je	LBB0_9
## %bb.10:
	cmpl	$2, %ecx
	je	LBB0_6
## %bb.11:
	cmpl	$4, %ecx
	je	LBB0_6
LBB0_12:
	cmpl	$4, %ebx
	jb	LBB0_16
## %bb.13:
	movl	%ebx, %ecx
	andl	$3, %ecx
	je	LBB0_14
## %bb.15:
	leal	-1(%rcx), %edx
	movl	$4, %eax
	cmpl	$2, %edx
	jb	LBB0_6
LBB0_16:
	cmpl	$2, %ebx
	jb	LBB0_19
## %bb.17:
	movl	$1, %ecx
	movl	$2, %eax
	movl	$2, %edx
	testb	$1, %bl
	je	LBB0_18
LBB0_6:
	movl	%ecx, %edx
LBB0_18:
	movl	%eax, (%r15)
	movl	%edx, (%r14)
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	$16, %edx
	jmp	LBB0_18
LBB0_9:
	movl	$8, %edx
	jmp	LBB0_18
LBB0_14:
	movl	$4, %eax
	movl	$4, %edx
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_camif_get_dma_burst
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function camif_get_dma_burst
_camif_get_dma_burst:                   ; @camif_get_dma_burst
	.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, x3
	mov	x20, x2
	mul	w8, w1, w0
	add	w9, w8, #3
	cmp	w8, #0
	csel	w21, w9, w8, lt
	tst	w8, #0x7
	ccmp	w0, #8, #8, eq
	cset	w0, lt
	bl	_WARN_ON
	cbnz	x0, LBB0_19
; %bb.1:
	asr	w10, w21, #2
	cmp	w10, #16
	b.hs	LBB0_7
LBB0_2:
	cmp	w10, #8
	b.hs	LBB0_9
LBB0_3:
	cmp	w10, #4
	b.lo	LBB0_11
; %bb.4:
	ands	w9, w10, #0x3
	b.eq	LBB0_16
; %bb.5:
	sub	w8, w9, #1
	cmp	w8, #2
	b.hs	LBB0_11
; %bb.6:
	mov	w8, #4
	b	LBB0_18
LBB0_7:
	mov	w8, #16
	ands	w9, w10, #0xf
	b.eq	LBB0_14
; %bb.8:
	cmp	w9, #8
	ccmp	w9, #4, #4, ne
	b.eq	LBB0_18
	b	LBB0_2
LBB0_9:
	mov	w8, #8
	ands	w9, w10, #0x7
	b.eq	LBB0_15
; %bb.10:
	cmp	w9, #2
	ccmp	w9, #4, #4, ne
	b.eq	LBB0_18
	b	LBB0_3
LBB0_11:
	cmp	w10, #2
	b.lo	LBB0_19
; %bb.12:
	mov	w8, #2
	tbnz	w10, #0, LBB0_17
; %bb.13:
	mov	w9, #2
	b	LBB0_18
LBB0_14:
	mov	w9, #16
	b	LBB0_18
LBB0_15:
	mov	w9, #8
	b	LBB0_18
LBB0_16:
	mov	w8, #4
	mov	w9, #4
	b	LBB0_18
LBB0_17:
	mov	w9, #1
LBB0_18:
	str	w8, [x20]
	str	w9, [x19]
LBB0_19:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_camif_get_dma_burst
.subsections_via_symbols
