	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shape_of
_shape_of:                              ## @shape_of
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	movq	%rdi, %r12
	movq	_shape_count@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	je	LBB0_6
## %bb.1:
	xorl	%ebx, %ebx
	movq	_shape_defs@GOTPCREL(%rip), %r13
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movl	8(%rax,%rbx), %edi
	movq	%r12, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movl	(%r15), %eax
	addq	$16, %rbx
	cmpq	%rax, %r14
	jb	LBB0_2
LBB0_6:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_3:
	movq	(%r13), %rax
	movq	(%rax,%rbx), %rax
	xorpd	%xmm0, %xmm0
	movsd	-56(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	movapd	%xmm2, %xmm1
	cmpneqsd	%xmm0, %xmm1
	movq	%xmm1, %rcx
	andl	$1, %ecx
	movq	(%rax,%rcx,8), %rax
	movslq	-44(%rbp), %rcx                 ## 4-byte Folded Reload
	movq	(%rax,%rcx,8), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	ucomisd	%xmm0, %xmm2
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmovneq	%rax, %rdx
	cmovpq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_shape_count,4,2                ## @shape_count
	.comm	_shape_defs,8,3                 ## @shape_defs
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"genpng: %s %s not supported\n"

L_.str.1:                               ## @.str.1
	.asciz	"filled"

L_.str.2:                               ## @.str.2
	.asciz	"unfilled"

L_.str.3:                               ## @.str.3
	.asciz	"genpng: %s: not a valid shape name\n"

	.no_dead_strip	_shape_of
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shape_of
_shape_of:                              ; @shape_of
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	mov	x19, x0
Lloh0:
	adrp	x21, _shape_count@GOTPAGE
Lloh1:
	ldr	x21, [x21, _shape_count@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x20, x1
	fmov	d8, d0
	mov	x22, #0
	mov	x23, #0
Lloh2:
	adrp	x24, _shape_defs@GOTPAGE
Lloh3:
	ldr	x24, [x24, _shape_defs@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	add	x8, x8, x22
	ldr	w0, [x8, #8]
	mov	x1, x19
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #1
	ldr	w8, [x21]
	add	x22, x22, #16
	cmp	x23, x8
	b.lo	LBB0_2
LBB0_4:
Lloh4:
	adrp	x8, _stderr@GOTPAGE
Lloh5:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x19
LBB0_5:
	bl	_fprintf
	mov	w0, #1
	bl	_exit
LBB0_6:
	ldr	x8, [x24]
	ldr	x8, [x8, x22]
	fcmp	d8, #0.0
	cset	w9, ne
	ldr	x8, [x8, w9, uxtw #3]
	ldr	x0, [x8, w20, sxtw #3]
	cbz	x0, LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_8:
Lloh9:
	adrp	x8, _stderr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, l_.str.2@PAGE
Lloh13:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh14:
	adrp	x9, l_.str.1@PAGE
Lloh15:
	add	x9, x9, l_.str.1@PAGEOFF
	fcmp	d8, #0.0
	csel	x2, x9, x8, eq
	str	x19, [sp]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_shape_count,4,2                ; @shape_count
	.comm	_shape_defs,8,3                 ; @shape_defs
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"genpng: %s %s not supported\n"

l_.str.1:                               ; @.str.1
	.asciz	"filled"

l_.str.2:                               ; @.str.2
	.asciz	"unfilled"

l_.str.3:                               ; @.str.3
	.asciz	"genpng: %s: not a valid shape name\n"

	.no_dead_strip	_shape_of
.subsections_via_symbols
