	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__nl_explode_name               ## -- Begin function _nl_explode_name
	.p2align	4, 0x90
__nl_explode_name:                      ## @_nl_explode_name
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	%rsi, %r13
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	$0, (%rdx)
	movq	$0, (%rcx)
	movq	$0, (%r8)
	movq	$0, (%r9)
	movq	%rdi, (%rsi)
	callq	__nl_find_language
	movq	%rax, %rbx
	cmpq	%rax, (%r13)
	je	LBB0_1
## %bb.2:
	movb	(%rbx), %al
	xorl	%r13d, %r13d
	cmpb	$95, %al
	jne	LBB0_9
## %bb.3:
	movb	$0, (%rbx)
	incq	%rbx
	movq	%rbx, (%r15)
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	testb	%al, %al
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$46, %al
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$64, %al
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	jmp	LBB0_4
LBB0_1:
	movq	%rbx, %rdi
	callq	_strlen
	addq	%rax, %rbx
	xorl	%r13d, %r13d
	cmpb	$64, (%rbx)
	je	LBB0_21
	jmp	LBB0_23
LBB0_8:
	movq	_XPG_TERRITORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
LBB0_9:
	cmpb	$46, %al
	jne	LBB0_20
## %bb.10:
	movb	$0, (%rbx)
	leaq	1(%rbx), %rdi
	movq	%rdi, (%r14)
	xorl	%esi, %esi
	testb	$-65, 1(%rbx,%rsi)
	je	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	incq	%rsi
	testb	$-65, 1(%rbx,%rsi)
	jne	LBB0_12
LBB0_13:
	addq	%rsi, %rbx
	incq	%rbx
	movq	_XPG_CODESET@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	testq	%rsi, %rsi
	je	LBB0_20
## %bb.14:
	cmpb	$0, (%rdi)
	je	LBB0_20
## %bb.15:
                                        ## kill: def $esi killed $esi killed $rsi
	callq	__nl_normalize_codeset
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:
	movq	(%r14), %rdi
	movq	%rax, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:
	movq	_XPG_NORM_CODESET@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
LBB0_20:
	cmpb	$64, (%rbx)
	jne	LBB0_23
LBB0_21:
	movb	$0, (%rbx)
	leaq	1(%rbx), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	cmpb	$0, 1(%rbx)
	je	LBB0_23
## %bb.22:
	movq	_XPG_MODIFIER@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
LBB0_23:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_26
## %bb.24:
	cmpb	$0, (%rax)
	jne	LBB0_26
## %bb.25:
	movq	_XPG_TERRITORY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r13d
LBB0_26:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_29
## %bb.27:
	cmpb	$0, (%rax)
	jne	LBB0_29
## %bb.28:
	movq	_XPG_CODESET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r13d
LBB0_29:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	$-1, %r13d
	jmp	LBB0_29
LBB0_18:
	movq	(%r12), %rdi
	callq	_free
	cmpb	$64, (%rbx)
	je	LBB0_21
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_XPG_TERRITORY,4,2              ## @XPG_TERRITORY
	.comm	_XPG_CODESET,4,2                ## @XPG_CODESET
	.comm	_XPG_NORM_CODESET,4,2           ## @XPG_NORM_CODESET
	.comm	_XPG_MODIFIER,4,2               ## @XPG_MODIFIER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__nl_explode_name               ; -- Begin function _nl_explode_name
	.p2align	2
__nl_explode_name:                      ; @_nl_explode_name
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x24, x5
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	str	xzr, [x2]
	str	xzr, [x3]
	str	xzr, [x4]
	str	xzr, [x5]
	str	x0, [x1]
	bl	__nl_find_language
	mov	x23, x0
	ldr	x8, [x22]
	cmp	x8, x0
	b.eq	LBB0_7
; %bb.1:
	ldrb	w8, [x23]
	cmp	w8, #95
	b.ne	LBB0_8
; %bb.2:
	strb	wzr, [x23], #1
	str	x23, [x20]
	ldrb	w8, [x23]
	cbz	w8, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, #46
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #64
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	ldrb	w8, [x23]
	cbnz	w8, LBB0_3
LBB0_6:
Lloh0:
	adrp	x9, _XPG_TERRITORY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XPG_TERRITORY@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x9]
	cmp	w8, #46
	b.eq	LBB0_9
	b	LBB0_19
LBB0_7:
	mov	x0, x23
	bl	_strlen
	mov	w22, #0
	add	x23, x23, x0
	b	LBB0_19
LBB0_8:
	mov	w22, #0
	cmp	w8, #46
	b.ne	LBB0_19
LBB0_9:
	mov	x1, #0
	mov	x0, x23
	strb	wzr, [x0], #1
	str	x0, [x19]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x0, x1]
	orr	w8, w8, #0x40
	cmp	w8, #64
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x1, x1, #1
	b	LBB0_10
LBB0_12:
	add	x8, x23, x1
	add	x23, x8, #1
Lloh3:
	adrp	x8, _XPG_CODESET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XPG_CODESET@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w22, w8, w22
	cbz	x1, LBB0_19
; %bb.13:
	ldrb	w8, [x0]
	cbz	w8, LBB0_19
; %bb.14:
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	__nl_normalize_codeset
	str	x0, [x24]
	cbz	x0, LBB0_17
; %bb.15:
	mov	x1, x0
	ldr	x0, [x19]
	bl	_strcmp
	cbz	x0, LBB0_18
; %bb.16:
Lloh6:
	adrp	x8, _XPG_NORM_CODESET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _XPG_NORM_CODESET@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w22, w8, w22
	b	LBB0_19
LBB0_17:
	mov	w22, #-1
	b	LBB0_28
LBB0_18:
	ldr	x0, [x24]
	bl	_free
LBB0_19:
	ldrb	w8, [x23]
	cmp	w8, #64
	b.ne	LBB0_22
; %bb.20:
	strb	wzr, [x23]
	add	x8, x23, #1
	str	x8, [x21]
	ldrb	w8, [x23, #1]
	cbz	w8, LBB0_22
; %bb.21:
Lloh9:
	adrp	x8, _XPG_MODIFIER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _XPG_MODIFIER@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w22, w8, w22
LBB0_22:
	ldr	x8, [x20]
	cbz	x8, LBB0_25
; %bb.23:
	ldrb	w8, [x8]
	cbnz	w8, LBB0_25
; %bb.24:
Lloh12:
	adrp	x8, _XPG_TERRITORY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _XPG_TERRITORY@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	bic	w22, w22, w8
LBB0_25:
	ldr	x8, [x19]
	cbz	x8, LBB0_28
; %bb.26:
	ldrb	w8, [x8]
	cbnz	w8, LBB0_28
; %bb.27:
Lloh15:
	adrp	x8, _XPG_CODESET@GOTPAGE
Lloh16:
	ldr	x8, [x8, _XPG_CODESET@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	bic	w22, w22, w8
LBB0_28:
	mov	x0, x22
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_XPG_TERRITORY,4,2              ; @XPG_TERRITORY
	.comm	_XPG_CODESET,4,2                ; @XPG_CODESET
	.comm	_XPG_NORM_CODESET,4,2           ; @XPG_NORM_CODESET
	.comm	_XPG_MODIFIER,4,2               ; @XPG_MODIFIER
.subsections_via_symbols
