	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___wrap_setrunelocale           ## -- Begin function __wrap_setrunelocale
	.p2align	4, 0x90
___wrap_setrunelocale:                  ## @__wrap_setrunelocale
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rsi
	movq	___xlocale_global_ctype@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	___setrunelocale
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	__LDP_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movl	8(%rbx), %eax
	movq	___mb_cur_max@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	(%rbx), %eax
	movl	4(%rbx), %ecx
	movq	___mb_sb_limit@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movq	__CurrentRuneLocale@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	__LDP_LOADED@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___xlocale_global_ctype,12,2    ## @__xlocale_global_ctype
	.comm	_errno,4,2                      ## @errno
	.comm	__LDP_ERROR,4,2                 ## @_LDP_ERROR
	.comm	___mb_cur_max,4,2               ## @__mb_cur_max
	.comm	___mb_sb_limit,4,2              ## @__mb_sb_limit
	.comm	__CurrentRuneLocale,4,2         ## @_CurrentRuneLocale
	.comm	__LDP_LOADED,4,2                ## @_LDP_LOADED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___wrap_setrunelocale           ; -- Begin function __wrap_setrunelocale
	.p2align	2
___wrap_setrunelocale:                  ; @__wrap_setrunelocale
	.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	x1, x0
Lloh0:
	adrp	x19, ___xlocale_global_ctype@GOTPAGE
Lloh1:
	ldr	x19, [x19, ___xlocale_global_ctype@GOTPAGEOFF]
	mov	x0, x19
	bl	___setrunelocale
	cbz	w0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _errno@GOTPAGE
Lloh3:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh4:
	str	w0, [x8]
Lloh5:
	adrp	x8, __LDP_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, __LDP_ERROR@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x8, ___mb_cur_max@GOTPAGE
Lloh8:
	ldr	x8, [x8, ___mb_cur_max@GOTPAGEOFF]
	ldr	w9, [x19, #8]
Lloh9:
	str	w9, [x8]
Lloh10:
	adrp	x8, ___mb_sb_limit@GOTPAGE
Lloh11:
	ldr	x8, [x8, ___mb_sb_limit@GOTPAGEOFF]
	ldp	w10, w9, [x19]
Lloh12:
	str	w9, [x8]
Lloh13:
	adrp	x8, __CurrentRuneLocale@GOTPAGE
Lloh14:
	ldr	x8, [x8, __CurrentRuneLocale@GOTPAGEOFF]
Lloh15:
	str	w10, [x8]
Lloh16:
	adrp	x8, __LDP_LOADED@GOTPAGE
Lloh17:
	ldr	x8, [x8, __LDP_LOADED@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	___xlocale_global_ctype,12,2    ; @__xlocale_global_ctype
	.comm	_errno,4,2                      ; @errno
	.comm	__LDP_ERROR,4,2                 ; @_LDP_ERROR
	.comm	___mb_cur_max,4,2               ; @__mb_cur_max
	.comm	___mb_sb_limit,4,2              ; @__mb_sb_limit
	.comm	__CurrentRuneLocale,4,2         ; @_CurrentRuneLocale
	.comm	__LDP_LOADED,4,2                ; @_LDP_LOADED
.subsections_via_symbols
