	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function image_size_of_type
_image_size_of_type:                    ## @image_size_of_type
	.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	$16, %eax
	cmpl	$0, (%rdx)
	jne	LBB0_5
## %bb.1:
	movl	%ecx, %ebx
	callq	_pixel_depth_of_type
	movl	%eax, %ecx
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.2:
	movl	$1, %edx
	shll	%cl, %edx
	cmpl	$9, %ecx
	movl	$256, %eax                      ## imm = 0x100
	cmovll	%edx, %eax
	jmp	LBB0_5
LBB0_3:
	movl	$64, %eax
	cmpl	$8, %ecx
	jl	LBB0_5
## %bb.4:
	cmpl	$17, %ecx
	movl	$1024, %ecx                     ## imm = 0x400
	movl	$256, %eax                      ## imm = 0x100
	cmovael	%ecx, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_image_size_of_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function image_size_of_type
_image_size_of_type:                    ; @image_size_of_type
	.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
	ldr	w8, [x2]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w0, #16
	b	LBB0_3
LBB0_2:
	mov	x19, x3
	bl	_pixel_depth_of_type
	mov	w8, #64
	mov	w9, #256
	mov	w10, #1024
	cmp	w0, #16
	csel	w10, w10, w9, hi
	cmp	w0, #8
	csel	w8, w8, w10, lt
	mov	w10, #1
	lsl	w10, w10, w0
	cmp	w0, #9
	csel	w9, w10, w9, lt
	cmp	w19, #0
	csel	w0, w8, w9, eq
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_image_size_of_type
.subsections_via_symbols
