	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmal_encoding_stride_to_width  ## -- Begin function mmal_encoding_stride_to_width
	.p2align	4, 0x90
_mmal_encoding_stride_to_width:         ## @mmal_encoding_stride_to_width
	.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), %r8
	movq	_MMAL_ENCODING_UNKNOWN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	$-1, %ecx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ecx
	leaq	(%rcx,%rcx,2), %rax
	movq	(%r8,%rax,8), %rax
	cmpq	%rdi, %rax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%rdx, %rax
	jne	LBB0_1
LBB0_3:
	cmpq	%rdx, %rax
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_5:
	movl	%ecx, %eax
	leaq	(%rax,%rax,2), %rax
	imulq	8(%r8,%rax,8), %rsi
	movq	16(%r8,%rax,8), %rcx
	movq	%rsi, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_6
## %bb.7:
	movq	%rsi, %rax
	cqto
	idivq	%rcx
	popq	%rbp
	retq
LBB0_6:
	movl	%esi, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	popq	%rbp
	retq
	.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_stride_to_width  ; -- Begin function mmal_encoding_stride_to_width
	.p2align	2
_mmal_encoding_stride_to_width:         ; @mmal_encoding_stride_to_width
	.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
	mov	w11, #24
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	w9, w9, #1
	umull	x12, w9, w11
	ldr	x12, [x8, x12]
	cmp	x12, x0
	ccmp	x12, x10, #4, ne
	b.ne	LBB0_1
; %bb.2:
	cmp	x12, x10
	b.ne	LBB0_4
; %bb.3:
	mov	x0, #0
	ret
LBB0_4:
	mov	w10, #24
	madd	x8, x9, x10, x8
	ldp	x9, x8, [x8, #8]
	mul	x9, x9, x1
	sdiv	x0, x9, x8
	ret
	.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
