	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_strxfrm_bug              ## -- Begin function check_strxfrm_bug
	.p2align	4, 0x90
_check_strxfrm_bug:                     ## @check_strxfrm_bug
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movb	$127, -57(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	movl	$7, %edx
	callq	_strxfrm
	movb	-57(%rbp), %bl
	movb	$127, -63(%rbp)
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_strxfrm
	cmpb	$127, -63(%rbp)
	jne	LBB0_2
## %bb.1:
	cmpb	$127, %bl
	jne	LBB0_2
## %bb.4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_SYSTEM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	_LC_COLLATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_setlocale
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_errmsg_internal
	leaq	L_.str.3(%rip), %rdi
	callq	_errhint
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_6
## %bb.3:
	movl	%ebx, %edi
	movl	%eax, %esi
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ereport                        ## TAILCALL
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ab"

L_.str.1:                               ## @.str.1
	.asciz	"a"

	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_SYSTEM_ERROR,4,2       ## @ERRCODE_SYSTEM_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"strxfrm(), in locale \"%s\", writes past the specified array length"

	.comm	_LC_COLLATE,4,2                 ## @LC_COLLATE
L_.str.3:                               ## @.str.3
	.asciz	"Apply system library package updates."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_strxfrm_bug              ; -- Begin function check_strxfrm_bug
	.p2align	2
_check_strxfrm_bug:                     ; @check_strxfrm_bug
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	mov	w20, #127
	strb	w20, [sp, #15]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w2, #7
	bl	_strxfrm
	ldrb	w19, [sp, #15]
	strb	w20, [sp, #9]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	mov	w2, #1
	bl	_strxfrm
	ldrb	w8, [sp, #9]
	cmp	w8, #127
	b.ne	LBB0_4
; %bb.1:
	cmp	w19, #127
	b.ne	LBB0_4
; %bb.2:
	ldur	x8, [x29, #-24]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_4:
Lloh10:
	adrp	x8, _ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w19, [x8]
Lloh13:
	adrp	x8, _ERRCODE_SYSTEM_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERRCODE_SYSTEM_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_errcode
Lloh16:
	adrp	x8, _LC_COLLATE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _LC_COLLATE@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_setlocale
	mov	x1, x0
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errmsg_internal
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_errhint
	ldur	x8, [x29, #-24]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_ereport
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ab"

l_.str.1:                               ; @.str.1
	.asciz	"a"

	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_SYSTEM_ERROR,4,2       ; @ERRCODE_SYSTEM_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"strxfrm(), in locale \"%s\", writes past the specified array length"

	.comm	_LC_COLLATE,4,2                 ; @LC_COLLATE
l_.str.3:                               ; @.str.3
	.asciz	"Apply system library package updates."

.subsections_via_symbols
