	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function COMCTL32_ChrCmpHelperA
_COMCTL32_ChrCmpHelperA:                ## @COMCTL32_ChrCmpHelperA
	.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	%edx, %r14d
	movl	%esi, %r15d
	movl	%edi, %ebx
	callq	_LOBYTE
	movb	%al, -30(%rbp)
	movsbl	%al, %edi
	callq	_IsDBCSLeadByte
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	%ebx, %edi
	callq	_HIBYTE
                                        ## kill: def $al killed $al def $eax
	movb	$0, -28(%rbp)
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movb	%al, -29(%rbp)
	movl	%r15d, %edi
	callq	_LOBYTE
	movb	%al, -27(%rbp)
	movsbl	%al, %edi
	callq	_IsDBCSLeadByte
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	%r15d, %edi
	callq	_HIBYTE
                                        ## kill: def $al killed $al def $eax
	movb	$0, -25(%rbp)
	jmp	LBB0_6
LBB0_4:
	xorl	%eax, %eax
LBB0_6:
	movb	%al, -26(%rbp)
	xorl	%eax, %eax
	callq	_GetThreadLocale
	leaq	-30(%rbp), %rdx
	leaq	-27(%rbp), %r8
	movl	%eax, %edi
	movl	%r14d, %esi
	movl	$-1, %ecx
	movl	$-1, %r9d
	callq	_CompareStringA
	movq	_CSTR_EQUAL@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CSTR_EQUAL,8,3                 ## @CSTR_EQUAL
	.no_dead_strip	_COMCTL32_ChrCmpHelperA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function COMCTL32_ChrCmpHelperA
_COMCTL32_ChrCmpHelperA:                ; @COMCTL32_ChrCmpHelperA
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_LOBYTE
	strb	w0, [sp, #13]
	bl	_IsDBCSLeadByte
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_HIBYTE
	strb	wzr, [sp, #15]
LBB0_2:
	strb	w0, [sp, #14]
	mov	x0, x20
	bl	_LOBYTE
	strb	w0, [sp, #10]
	bl	_IsDBCSLeadByte
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_HIBYTE
	strb	wzr, [sp, #12]
LBB0_4:
	strb	w0, [sp, #11]
	bl	_GetThreadLocale
	add	x2, sp, #13
	add	x4, sp, #10
	mov	x1, x19
	mov	w3, #-1
	mov	w5, #-1
	bl	_CompareStringA
Lloh0:
	adrp	x8, _CSTR_EQUAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CSTR_EQUAL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sub	x0, x0, x8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CSTR_EQUAL,8,3                 ; @CSTR_EQUAL
	.no_dead_strip	_COMCTL32_ChrCmpHelperA
.subsections_via_symbols
