	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function format_default
_format_default:                        ## @format_default
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	testl	%esi, %esi
	je	LBB0_4
## %bb.1:
	movq	_FORMAT_SET_COUNT@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_9
## %bb.2:
	movq	(%r14), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	$-1, (%rcx,%rdx,4)
	incq	%rdx
	movslq	(%rax), %rsi
	cmpq	%rsi, %rdx
	jl	LBB0_3
	jmp	LBB0_9
LBB0_4:
	movq	_FORMAT_COUNT@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.5:
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	incl	%ebx
	cmpl	%eax, %ebx
	jge	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	testb	$48, %bl
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_format_set
	movl	(%r15), %eax
	jmp	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FORMAT_SET_COUNT,4,2           ## @FORMAT_SET_COUNT
	.comm	_FORMAT_COUNT,4,2               ## @FORMAT_COUNT
	.comm	_PNG_FORMAT_FLAG_AFIRST,4,2     ## @PNG_FORMAT_FLAG_AFIRST
	.comm	_PNG_FORMAT_FLAG_ALPHA,4,2      ## @PNG_FORMAT_FLAG_ALPHA
	.comm	_PNG_FORMAT_FLAG_BGR,4,2        ## @PNG_FORMAT_FLAG_BGR
	.comm	_PNG_FORMAT_FLAG_COLOR,4,2      ## @PNG_FORMAT_FLAG_COLOR
	.no_dead_strip	_format_default
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function format_default
_format_default:                        ; @format_default
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	cbz	w1, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _FORMAT_SET_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FORMAT_SET_COUNT@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.2:
	mov	x9, #0
	ldr	x10, [x19]
	mov	w11, #-1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	w11, [x10, x9, lsl #2]
	add	x9, x9, #1
	ldrsw	x12, [x8]
	cmp	x9, x12
	b.lt	LBB0_3
	b	LBB0_9
LBB0_4:
Lloh2:
	adrp	x21, _FORMAT_COUNT@GOTPAGE
Lloh3:
	ldr	x21, [x21, _FORMAT_COUNT@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.5:
	mov	w20, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w20, w20, #1
	cmp	w20, w8
	b.ge	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	tst	w20, #0x30
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_format_set
	ldr	w8, [x21]
	b	LBB0_6
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_FORMAT_SET_COUNT,4,2           ; @FORMAT_SET_COUNT
	.comm	_FORMAT_COUNT,4,2               ; @FORMAT_COUNT
	.comm	_PNG_FORMAT_FLAG_AFIRST,4,2     ; @PNG_FORMAT_FLAG_AFIRST
	.comm	_PNG_FORMAT_FLAG_ALPHA,4,2      ; @PNG_FORMAT_FLAG_ALPHA
	.comm	_PNG_FORMAT_FLAG_BGR,4,2        ; @PNG_FORMAT_FLAG_BGR
	.comm	_PNG_FORMAT_FLAG_COLOR,4,2      ; @PNG_FORMAT_FLAG_COLOR
	.no_dead_strip	_format_default
.subsections_via_symbols
