	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_png_format_number              ## -- Begin function png_format_number
	.p2align	4, 0x90
_png_format_number:                     ## @png_format_number
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movb	$0, -1(%rsi)
	decq	%rsi
	cmpq	%rdi, %rsi
	jbe	LBB0_24
## %bb.1:
	movl	%edx, %r8d
	movl	$1, %r12d
	xorl	%r15d, %r15d
	leal	-128(%r8), %r9d
	leaq	LJTI0_0(%rip), %r10
	leaq	_png_format_number.digits(%rip), %r11
	movabsq	$7378697629483820647, %r14      ## imm = 0x6666666666666667
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movb	$46, -1(%rsi)
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	decq	%rsi
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	cmpq	%rdi, %rsi
	jbe	LBB0_24
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rcx, %rcx
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r12d, %ebx
	jge	LBB0_24
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$4, %r9d
	ja	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r10,%r9,4), %rax
	addq	%r10, %rax
	jmpq	*%rax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %rax
	imulq	%r14
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$2, %rdx
	addq	%rax, %rdx
	addq	%rdx, %rdx
	leaq	(%rdx,%rdx,4), %rdx
	movq	%rcx, %rax
	subq	%rdx, %rax
	testl	%r15d, %r15d
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%rax,%r11), %eax
	movb	%al, -1(%rsi)
	decq	%rsi
	movl	$1, %r15d
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %rax
	imulq	%r14
	movq	%rdx, %rcx
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$2, %rcx
	addq	%rax, %rcx
	movl	$5, %r12d
	cmpl	$130, %r8d
	je	LBB0_16
	jmp	LBB0_23
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	cmpl	$130, %r8d
	je	LBB0_16
	jmp	LBB0_23
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$2, %r12d
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, %eax
	andl	$15, %eax
	movzbl	(%rax,%r11), %eax
	movb	%al, -1(%rsi)
	decq	%rsi
	sarq	$4, %rcx
	cmpl	$130, %r8d
	je	LBB0_16
	jmp	LBB0_23
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$2, %r12d
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %rax
	imulq	%r14
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$2, %rdx
	addq	%rax, %rdx
	leaq	(%rdx,%rdx), %rax
	leaq	(%rax,%rax,4), %rax
	subq	%rax, %rcx
	movzbl	(%r11,%rcx), %eax
	movb	%al, -1(%rsi)
	decq	%rsi
	movq	%rdx, %rcx
	cmpl	$130, %r8d
	jne	LBB0_23
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$4, %ebx
	jne	LBB0_23
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdi, %rsi
	jbe	LBB0_23
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	testl	%r15d, %r15d
	jne	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	testq	%rcx, %rcx
	jne	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	movb	$48, -1(%rsi)
	jmp	LBB0_22
LBB0_24:
	movq	%rsi, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_12
	.long	L0_0_set_7
	.long	L0_0_set_13
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
	.p2align	4                               ## @png_format_number.digits
_png_format_number.digits:
	.asciz	"0123456789ABCDEF"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_png_format_number              ; -- Begin function png_format_number
	.p2align	2
_png_format_number:                     ; @png_format_number
	.cfi_startproc
; %bb.0:
	strb	wzr, [x1, #-1]!
	cmp	x1, x0
	b.ls	LBB0_23
; %bb.1:
	mov	w16, #0
	mov	w8, #0
	mov	w17, #1
	sub	w9, w2, #128
	mov	w10, #48
	mov	w11, #46
Lloh0:
	adrp	x12, lJTI0_0@PAGE
Lloh1:
	add	x12, x12, lJTI0_0@PAGEOFF
	mov	x13, #7378697629483820646
	movk	x13, #26215
	mov	w14, #10
Lloh2:
	adrp	x15, _png_format_number.digits@PAGE
Lloh3:
	add	x15, x15, _png_format_number.digits@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	strb	w11, [x1, #-1]!
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w8, #1
	cmp	x1, x0
	b.ls	LBB0_23
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cbnz	x3, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, w17
	b.ge	LBB0_23
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w9, #4
	b.hi	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x4, LBB0_8
	ldrb	w5, [x12, x9]
	add	x4, x4, x5, lsl #2
	br	x4
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	smulh	x17, x3, x13
	asr	x4, x17, #2
	add	x5, x4, x17, lsr #63
	msub	x3, x5, x14, x3
	cbnz	w16, LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	x3, LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w16, #0
	b	LBB0_17
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x3, #0
	cmp	w2, #130
	b.eq	LBB0_18
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w17, #2
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	and	x4, x3, #0xf
	ldrb	w4, [x15, x4]
	strb	w4, [x1, #-1]!
	asr	x3, x3, #4
	cmp	w2, #130
	b.eq	LBB0_18
	b	LBB0_3
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w17, #2
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	smulh	x4, x3, x13
	asr	x5, x4, #2
	add	x4, x5, x4, lsr #63
	msub	x3, x4, x14, x3
	ldrb	w3, [x15, x3]
	strb	w3, [x1, #-1]!
	mov	x3, x4
	cmp	w2, #130
	b.eq	LBB0_18
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w16, [x15, x3]
	strb	w16, [x1, #-1]!
	mov	w16, #1
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x3, x4, x17, lsr #63
	mov	w17, #5
	cmp	w2, #130
	b.ne	LBB0_3
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #4
	b.ne	LBB0_3
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	x1, x0
	b.ls	LBB0_3
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w16, LBB0_2
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
	cbnz	x3, LBB0_3
; %bb.22:                               ;   in Loop: Header=BB0_4 Depth=1
	strb	w10, [x1, #-1]!
	b	LBB0_3
LBB0_23:
	mov	x0, x1
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_15-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_12-LBB0_8)>>2
	.byte	(LBB0_14-LBB0_8)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
_png_format_number.digits:              ; @png_format_number.digits
	.asciz	"0123456789ABCDEF"

.subsections_via_symbols
