	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpng_isvalid_latin1
_wpng_isvalid_latin1:                   ## @wpng_isvalid_latin1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	movl	%esi, %r8d
	movl	$-1, %eax
	xorl	%edx, %edx
	jmp	LBB0_3
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%edx, %eax
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdx
	cmpq	%rdx, %r8
	je	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rdx,4), %esi
	cmpl	$10, %esi
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$160, %esi
	jg	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	-32(%rsi), %ecx
	cmpl	$95, %ecx
	jb	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%eax, %eax
	js	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %ecx
	cmpl	$27, (%rdi,%rcx,4)
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$27, %esi
	je	LBB0_9
	jmp	LBB0_10
LBB0_11:
	popq	%rbp
	retq
LBB0_1:
	movl	$-1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_wpng_isvalid_latin1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpng_isvalid_latin1
_wpng_isvalid_latin1:                   ; @wpng_isvalid_latin1
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x9, #0
	mov	w10, w1
	mov	w8, #-1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x9
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #1
	cmp	x10, x9
	b.eq	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x0, x9, lsl #2]
	cmp	w11, #10
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w11, #160
	b.gt	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w12, w11, #32
	cmp	w12, #95
	b.lo	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	tbnz	w8, #31, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w12, [x0, w8, uxtw #2]
	cmp	w12, #27
	ccmp	w11, #27, #0, ne
	b.eq	LBB0_2
	b	LBB0_3
LBB0_9:
	mov	x0, x8
	ret
LBB0_10:
	mov	w0, #-1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_wpng_isvalid_latin1
.subsections_via_symbols
