	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mysqlnd_mbcharlen_gb18030
_mysqlnd_mbcharlen_gb18030:             ## @mysqlnd_mbcharlen_gb18030
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	cmpl	$255, %edi
	ja	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	callq	_is_gb18030_odd
	xorl	%r14d, %r14d
	testl	%eax, %eax
	sete	%r14b
	jmp	LBB0_6
LBB0_2:
	xorl	%r14d, %r14d
	cmpl	$65535, %ebx                    ## imm = 0xFFFF
	ja	LBB0_6
## %bb.3:
	movl	%ebx, %edi
	shrl	$8, %edi
	callq	_is_gb18030_odd
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movzbl	%bl, %ebx
	movl	%ebx, %edi
	callq	_is_gb18030_even_2
	movl	$2, %r14d
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movl	%ebx, %edi
	callq	_is_gb18030_even_4
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
	shll	$2, %r14d
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mysqlnd_mbcharlen_gb18030
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mysqlnd_mbcharlen_gb18030
_mysqlnd_mbcharlen_gb18030:             ; @mysqlnd_mbcharlen_gb18030
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cmp	w0, #255
	b.hi	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_is_gb18030_odd
	cmp	w0, #0
	cset	w0, eq
	b	LBB0_8
LBB0_2:
	lsr	w8, w19, #16
	cbz	w8, LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_8
LBB0_4:
	lsr	w0, w19, #8
	bl	_is_gb18030_odd
	cbz	w0, LBB0_8
; %bb.5:
	and	w19, w19, #0xff
	mov	x0, x19
	bl	_is_gb18030_even_2
	cbz	x0, LBB0_7
; %bb.6:
	mov	w0, #2
	b	LBB0_8
LBB0_7:
	mov	x0, x19
	bl	_is_gb18030_even_4
	cmp	x0, #0
	cset	w8, ne
	lsl	w0, w8, #2
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mysqlnd_mbcharlen_gb18030
.subsections_via_symbols
