	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxa_mbus_image_size
_pxa_mbus_image_size:                   ## @pxa_mbus_image_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %eax
	movq	(%rdi), %rcx
	movq	_PXA_MBUS_LAYOUT_PACKED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	imull	%esi, %eax
	popq	%rbp
	retq
LBB0_2:
	cmpl	$128, 8(%rdi)
	jne	LBB0_4
## %bb.3:
	imull	%esi, %eax
	addl	%eax, %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_image_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxa_mbus_image_size
_pxa_mbus_image_size:                   ; @pxa_mbus_image_size
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
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_2
; %bb.1:
	mul	w0, w2, w1
	ret
LBB0_2:
	ldr	w8, [x0, #8]
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.3:
	mul	w8, w2, w1
	lsl	w0, w8, #1
	ret
LBB0_4:
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_image_size
.subsections_via_symbols
