	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmal_encoding_width_to_stride  ## -- Begin function mmal_encoding_width_to_stride
	.p2align	4, 0x90
_mmal_encoding_width_to_stride:         ## @mmal_encoding_width_to_stride
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_pixel_pitch@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	_MMAL_ENCODING_UNKNOWN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	$-1, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	incl	%eax
	movq	%rax, %rcx
	shlq	$5, %rcx
	movq	(%r9,%rcx), %rcx
	cmpq	%rdi, %rcx
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%rdx, %rcx
	jne	LBB0_1
LBB0_3:
	cmpq	%rdx, %rcx
	jne	LBB0_4
## %bb.8:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	movl	%eax, %edi
	shlq	$5, %rdi
	imulq	8(%r9,%rdi), %rsi
	movq	16(%r9,%rdi), %r8
	movq	%rsi, %rax
	orq	%r8, %rax
	shrq	$32, %rax
	je	LBB0_5
## %bb.6:
	movq	%rsi, %rax
	cqto
	idivq	%r8
	jmp	LBB0_7
LBB0_5:
	movl	%esi, %eax
	xorl	%edx, %edx
	divl	%r8d
                                        ## kill: def $eax killed $eax def $rax
LBB0_7:
	movl	24(%r9,%rdi), %esi
	movq	%rax, %rdi
	popq	%rbp
	jmp	_VCOS_ALIGN_UP                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_pixel_pitch,8,3                ## @pixel_pitch
	.comm	_MMAL_ENCODING_UNKNOWN,8,3      ## @MMAL_ENCODING_UNKNOWN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmal_encoding_width_to_stride  ; -- Begin function mmal_encoding_width_to_stride
	.p2align	2
_mmal_encoding_width_to_stride:         ; @mmal_encoding_width_to_stride
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _pixel_pitch@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pixel_pitch@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _MMAL_ENCODING_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MMAL_ENCODING_UNKNOWN@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x9]
	mov	w9, #-1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	w9, w9, #1
	lsl	x11, x9, #5
	ldr	x11, [x8, x11]
	cmp	x11, x0
	ccmp	x11, x10, #4, ne
	b.ne	LBB0_1
; %bb.2:
	cmp	x11, x10
	b.ne	LBB0_4
; %bb.3:
	mov	x0, #0
	ret
LBB0_4:
	add	x8, x8, x9, lsl #5
	ldp	x9, x10, [x8, #8]
	mul	x9, x9, x1
	sdiv	x0, x9, x10
	ldr	w1, [x8, #24]
	b	_VCOS_ALIGN_UP
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pixel_pitch,8,3                ; @pixel_pitch
	.comm	_MMAL_ENCODING_UNKNOWN,8,3      ; @MMAL_ENCODING_UNKNOWN
.subsections_via_symbols
