	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pgtypes_defmt_scan
_pgtypes_defmt_scan:                    ## @pgtypes_defmt_scan
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	$0, -48(%rbp)
	addq	$-8, %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rdi
	addq	$8, %rbx
	cmpb	$32, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rcx, %rsi
	callq	_find_end_token
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r14
	movb	(%rax), %r13b
	movb	$0, (%rax)
	cmpl	$130, %r12d
	je	LBB0_19
## %bb.5:
	cmpl	$129, %r12d
	je	LBB0_13
## %bb.6:
	cmpl	$128, %r12d
	jne	LBB0_7
## %bb.8:
	movq	(%rbx), %rdi
	cmpb	$32, (%rdi)
	jne	LBB0_12
## %bb.9:
	incq	%rdi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rdi, (%rbx)
	cmpb	$32, (%rdi)
	leaq	1(%rdi), %rdi
	je	LBB0_10
## %bb.11:
	decq	%rdi
LBB0_12:
	movq	_errno@GOTPCREL(%rip), %r12
	movl	$0, (%r12)
	leaq	-48(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movq	%rax, (%r15)
	jmp	LBB0_18
LBB0_3:
	movl	$1, %eax
	jmp	LBB0_24
LBB0_19:
	movq	(%rbx), %rdi
	callq	_pgtypes_strdup
	movq	%rax, (%r15)
	testq	%rax, %rax
	sete	%al
	jmp	LBB0_20
LBB0_13:
	movq	(%rbx), %rdi
	cmpb	$32, (%rdi)
	jne	LBB0_17
## %bb.14:
	incq	%rdi
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%rdi, (%rbx)
	cmpb	$32, (%rdi)
	leaq	1(%rdi), %rdi
	je	LBB0_15
## %bb.16:
	decq	%rdi
LBB0_17:
	movq	_errno@GOTPCREL(%rip), %r12
	movl	$0, (%r12)
	leaq	-48(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movl	%eax, (%r15)
LBB0_18:
	cmpl	$0, (%r12)
	setne	%al
	jmp	LBB0_20
LBB0_7:
	xorl	%eax, %eax
LBB0_20:
	movq	-48(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_22
## %bb.21:
	cmpb	$0, (%rcx)
	jne	LBB0_23
LBB0_22:
	movq	%r14, %rcx
LBB0_23:
	movzbl	%al, %eax
	movq	%rcx, (%rbx)
	movb	%r13b, (%r14)
LBB0_24:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_pgtypes_defmt_scan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pgtypes_defmt_scan
_pgtypes_defmt_scan:                    ; @pgtypes_defmt_scan
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x1
	mov	x20, x0
	str	xzr, [sp, #8]
	sub	x22, x2, #8
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22, #8]!
	ldrb	w8, [x0]
	cmp	w8, #32
	b.eq	LBB0_1
; %bb.2:
	mov	x1, x3
	bl	_find_end_token
	cbz	x0, LBB0_11
; %bb.3:
	mov	x19, x0
	ldrb	w23, [x0]
	strb	wzr, [x0]
	cmp	w21, #130
	b.eq	LBB0_12
; %bb.4:
	cmp	w21, #129
	b.eq	LBB0_14
; %bb.5:
	mov	w0, #0
	cmp	w21, #128
	b.ne	LBB0_13
; %bb.6:
	ldr	x0, [x22]
	ldrb	w8, [x0]
	cmp	w8, #32
	b.ne	LBB0_10
; %bb.7:
	add	x8, x0, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	str	x8, [x22]
	ldrb	w9, [x8], #1
	cmp	w9, #32
	b.eq	LBB0_8
; %bb.9:
	sub	x0, x8, #1
LBB0_10:
Lloh0:
	adrp	x21, _errno@GOTPAGE
Lloh1:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	str	wzr, [x21]
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtol
	str	x0, [x20]
	b	LBB0_19
LBB0_11:
	mov	w0, #1
	b	LBB0_23
LBB0_12:
	ldr	x0, [x22]
	bl	_pgtypes_strdup
	str	x0, [x20]
	cmp	x0, #0
	cset	w0, eq
LBB0_13:
	ldr	x8, [sp, #8]
	cbnz	x8, LBB0_20
	b	LBB0_21
LBB0_14:
	ldr	x0, [x22]
	ldrb	w8, [x0]
	cmp	w8, #32
	b.ne	LBB0_18
; %bb.15:
	add	x8, x0, #1
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	str	x8, [x22]
	ldrb	w9, [x8], #1
	cmp	w9, #32
	b.eq	LBB0_16
; %bb.17:
	sub	x0, x8, #1
LBB0_18:
Lloh2:
	adrp	x21, _errno@GOTPAGE
Lloh3:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	str	wzr, [x21]
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtol
	str	w0, [x20]
LBB0_19:
	ldr	w8, [x21]
	cmp	w8, #0
	cset	w0, ne
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_21
LBB0_20:
	ldrb	w9, [x8]
	cbnz	w9, LBB0_22
LBB0_21:
	mov	x8, x19
LBB0_22:
	str	x8, [x22]
	strb	w23, [x19]
LBB0_23:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_pgtypes_defmt_scan
.subsections_via_symbols
