	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function malidp550_rotmem_required
_malidp550_rotmem_required:             ## @malidp550_rotmem_required
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	cmpl	$128, %ecx
	je	LBB0_1
## %bb.2:
	cmpl	$129, %ecx
	jne	LBB0_5
## %bb.3:
	movl	$8, %eax
	testl	%r8d, %r8d
	jne	LBB0_6
## %bb.4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_1:
	movl	$15, %eax
	jmp	LBB0_6
LBB0_5:
	movl	%ecx, %edi
	callq	_malidpx50_get_bytes_per_column
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	movl	$1, %ecx
	cmovel	%ecx, %ebx
	imull	%eax, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_malidp550_rotmem_required
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function malidp550_rotmem_required
_malidp550_rotmem_required:             ; @malidp550_rotmem_required
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	cmp	w3, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w3, #129
	b.ne	LBB0_5
; %bb.2:
	cbz	w4, LBB0_8
; %bb.3:
	mov	w0, #8
	b	LBB0_6
LBB0_4:
	mov	w0, #15
	b	LBB0_6
LBB0_5:
	mov	x0, x3
	bl	_malidpx50_get_bytes_per_column
LBB0_6:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmn	w0, w8
	csinc	w8, w19, wzr, ne
	mul	w0, w8, w0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_malidp550_rotmem_required
.subsections_via_symbols
