	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxa_mbus_bytes_per_line
_pxa_mbus_bytes_per_line:               ## @pxa_mbus_bytes_per_line
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	movq	(%rsi), %rax
	movq	_PXA_MBUS_LAYOUT_PACKED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movl	12(%rsi), %eax
	leal	-129(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_3
## %bb.6:
	addl	%edi, %edi
	movl	%edi, %eax
	popq	%rbp
	retq
LBB0_3:
	cmpl	$128, %eax
	jne	LBB0_4
LBB0_1:
	imull	8(%rsi), %edi
	leal	7(%rdi), %eax
	testl	%edi, %edi
	cmovnsl	%edi, %eax
	sarl	$3, %eax
	popq	%rbp
	retq
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PXA_MBUS_LAYOUT_PACKED,8,3     ## @PXA_MBUS_LAYOUT_PACKED
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_pxa_mbus_bytes_per_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxa_mbus_bytes_per_line
_pxa_mbus_bytes_per_line:               ; @pxa_mbus_bytes_per_line
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _PXA_MBUS_LAYOUT_PACKED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PXA_MBUS_LAYOUT_PACKED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x1, #12]
	sub	w9, w8, #129
	cmp	w9, #2
	b.hs	LBB0_3
; %bb.2:
	lsl	w0, w0, #1
	ret
LBB0_3:
	cmp	w8, #128
	b.ne	LBB0_5
LBB0_4:
	ldr	w8, [x1, #8]
	mul	w8, w8, w0
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w0, w8, #3
	ret
LBB0_5:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PXA_MBUS_LAYOUT_PACKED,8,3     ; @PXA_MBUS_LAYOUT_PACKED
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_pxa_mbus_bytes_per_line
.subsections_via_symbols
