	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pg_eucjp_increment
_pg_eucjp_increment:                    ## @pg_eucjp_increment
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	movb	(%rdi), %bl
	cmpb	$-128, %bl
	je	LBB0_8
## %bb.1:
	cmpb	$-127, %bl
	jne	LBB0_15
## %bb.2:
	xorl	%eax, %eax
	cmpl	$2, %r15d
	jne	LBB0_26
## %bb.3:
	movb	1(%r14), %al
	cmpb	$-33, %al
	jb	LBB0_5
## %bb.4:
	movw	$-24159, (%r14)                 ## imm = 0xA1A1
	jmp	LBB0_25
LBB0_8:
	xorl	%eax, %eax
	cmpl	$3, %r15d
	jne	LBB0_26
## %bb.9:
	movb	2(%r14), %cl
	movl	$2, %edx
	cmpb	$-96, %cl
	ja	LBB0_11
LBB0_10:
	movb	$-95, (%r14,%rdx)
	jmp	LBB0_25
LBB0_15:
	movzbl	%bl, %edi
	callq	_IS_HIGHBIT_SET
	testl	%eax, %eax
	je	LBB0_23
## %bb.16:
	xorl	%eax, %eax
	cmpl	$2, %r15d
	jne	LBB0_26
## %bb.17:
	movb	1(%r14), %cl
	movl	$1, %eax
	cmpb	$-96, %cl
	jbe	LBB0_18
## %bb.19:
	movl	$1, %eax
	cmpb	$-3, %cl
	jbe	LBB0_20
## %bb.21:
	movb	(%r14), %cl
	xorl	%eax, %eax
	cmpb	$-95, %cl
	jae	LBB0_22
LBB0_18:
	movb	$-95, (%r14,%rax)
	jmp	LBB0_25
LBB0_23:
	xorl	%eax, %eax
	cmpb	$126, %bl
	ja	LBB0_26
## %bb.24:
	incb	(%r14)
	jmp	LBB0_25
LBB0_5:
	cmpb	$-96, %al
	ja	LBB0_7
## %bb.6:
	movb	$-95, 1(%r14)
	jmp	LBB0_25
LBB0_11:
	movl	$2, %edx
	cmpb	$-3, %cl
	ja	LBB0_13
LBB0_12:
	incb	%cl
	movb	%cl, (%r14,%rdx)
	jmp	LBB0_25
LBB0_7:
	incb	%al
	movb	%al, 1(%r14)
	jmp	LBB0_25
LBB0_13:
	movb	1(%r14), %cl
	movl	$1, %edx
	cmpb	$-95, %cl
	jb	LBB0_10
## %bb.14:
	movl	$1, %edx
	cmpb	$-2, %cl
	jb	LBB0_12
	jmp	LBB0_26
LBB0_22:
	cmpb	$-2, %cl
	jae	LBB0_26
LBB0_20:
	incb	%cl
	movb	%cl, (%r14,%rax)
LBB0_25:
	movl	$1, %eax
LBB0_26:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pg_eucjp_increment
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pg_eucjp_increment
_pg_eucjp_increment:                    ; @pg_eucjp_increment
	.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	x20, x1
	mov	x19, x0
	ldrb	w21, [x0]
	cmp	w21, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w21, #129
	b.ne	LBB0_8
; %bb.2:
	cmp	w20, #2
	b.ne	LBB0_15
; %bb.3:
	ldrb	w8, [x19, #1]
	cmp	w8, #223
	b.lo	LBB0_16
; %bb.4:
	mov	w8, #41377
	strh	w8, [x19]
	b	LBB0_28
LBB0_5:
	cmp	w20, #3
	b.ne	LBB0_15
; %bb.6:
	ldrb	w8, [x19, #2]
	cmp	w8, #160
	b.hi	LBB0_18
; %bb.7:
	mov	w8, #2
	b	LBB0_24
LBB0_8:
	mov	x0, x21
	bl	_IS_HIGHBIT_SET
	cbz	w0, LBB0_14
; %bb.9:
	cmp	w20, #2
	b.ne	LBB0_15
; %bb.10:
	ldrb	w8, [x19, #1]
	cmp	w8, #160
	b.ls	LBB0_23
; %bb.11:
	cmp	w8, #253
	b.ls	LBB0_26
; %bb.12:
	ldrb	w8, [x19]
	cmp	w8, #161
	b.hs	LBB0_30
; %bb.13:
	mov	x8, #0
	b	LBB0_24
LBB0_14:
	cmp	w21, #126
	b.ls	LBB0_20
LBB0_15:
	mov	w0, #0
	b	LBB0_29
LBB0_16:
	cmp	w8, #160
	b.hi	LBB0_21
; %bb.17:
	mov	w8, #161
	strb	w8, [x19, #1]
	b	LBB0_28
LBB0_18:
	cmp	w8, #253
	b.hi	LBB0_22
; %bb.19:
	mov	w9, #2
	b	LBB0_27
LBB0_20:
	ldrb	w8, [x19]
	add	w8, w8, #1
	strb	w8, [x19]
	b	LBB0_28
LBB0_21:
	add	w8, w8, #1
	strb	w8, [x19, #1]
	b	LBB0_28
LBB0_22:
	ldrb	w8, [x19, #1]
	cmp	w8, #161
	b.hs	LBB0_25
LBB0_23:
	mov	w8, #1
LBB0_24:
	mov	w9, #161
	strb	w9, [x19, x8]
	b	LBB0_28
LBB0_25:
	cmp	w8, #254
	b.hs	LBB0_15
LBB0_26:
	mov	w9, #1
LBB0_27:
	add	w8, w8, #1
	strb	w8, [x19, x9]
LBB0_28:
	mov	w0, #1
LBB0_29:
	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
LBB0_30:
	cmp	w8, #254
	b.hs	LBB0_15
; %bb.31:
	mov	x9, #0
	b	LBB0_27
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pg_eucjp_increment
.subsections_via_symbols
