	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function processEncodingEntry
_processEncodingEntry:                  ## @processEncodingEntry
	.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
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	(%rsi), %rdi
	callq	_pg_strdup
	movq	%rax, %r15
	movq	%rax, %rdi
	movl	$39, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	incq	%rbx
	movq	%rbx, %rdi
	movl	$39, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movb	$0, (%rax)
	movq	%rbx, %rdi
	callq	_pg_char_to_encoding
	movl	%eax, %r12d
	testl	%eax, %eax
	jns	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_fatal
LBB0_4:
	movl	%r12d, (%r14)
	jmp	LBB0_6
LBB0_5:
	movq	(%r12), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_fatal
LBB0_6:
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unrecognized encoding \"%s\""

L_.str.1:                               ## @.str.1
	.asciz	"invalid ENCODING item: %s"

	.no_dead_strip	_processEncodingEntry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function processEncodingEntry
_processEncodingEntry:                  ; @processEncodingEntry
	.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	x21, x1
	mov	x20, x0
	ldr	x0, [x1]
	bl	_pg_strdup
	mov	x19, x0
	mov	w1, #39
	bl	_strchr
	cbz	x0, LBB0_5
; %bb.1:
	add	x22, x0, #1
	mov	x0, x22
	mov	w1, #39
	bl	_strchr
	cbz	x0, LBB0_5
; %bb.2:
	strb	wzr, [x0]
	mov	x0, x22
	bl	_pg_char_to_encoding
	mov	x21, x0
	tbz	w0, #31, LBB0_4
; %bb.3:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_fatal
LBB0_4:
	str	w21, [x20]
	b	LBB0_6
LBB0_5:
	ldr	x1, [x21]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fatal
LBB0_6:
	mov	x0, x19
	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
	b	_free
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unrecognized encoding \"%s\""

l_.str.1:                               ; @.str.1
	.asciz	"invalid ENCODING item: %s"

	.no_dead_strip	_processEncodingEntry
.subsections_via_symbols
