	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_digit
_set_digit:                             ## @set_digit
	.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	%r12
	pushq	%rbx
	subq	$112, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	$0, -136(%rbp)
	movl	(%rdi), %edx
	movl	4(%rdi), %ecx
	leaq	L_.str(%rip), %rsi
	leaq	-128(%rbp), %r12
	movq	%r12, %rdi
	callq	_sprintf
	movq	8(%rbx), %rax
	movb	%r15b, -128(%rbp,%rax)
	leaq	-136(%rbp), %rsi
	movq	%r12, %rdi
	movl	$10, %edx
	callq	_strtol
	movq	-136(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	cmpb	$0, (%rcx)
	jne	LBB0_5
LBB0_2:
	cmpq	24(%rbx), %rax
	jg	LBB0_5
## %bb.3:
	cmpq	16(%rbx), %rax
	jl	LBB0_5
## %bb.4:
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movl	%eax, 4(%rbx)
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movl	%r14d, %eax
	addq	$112, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%*d"

	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_set_digit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_digit
_set_digit:                             ; @set_digit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	str	xzr, [sp]
	ldp	w2, w3, [x0]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	add	x22, sp, #8
	add	x0, sp, #8
	bl	_sprintf
	ldr	x8, [x20, #8]
	strb	w21, [x22, x8]
	add	x0, sp, #8
	mov	x1, sp
	mov	w2, #10
	bl	_strtol
	ldr	x8, [sp]
	cbz	x8, LBB0_2
; %bb.1:
	ldrb	w8, [x8]
	cbnz	w8, LBB0_5
LBB0_2:
	ldr	x8, [x20, #24]
	cmp	x0, x8
	b.gt	LBB0_5
; %bb.3:
	ldr	x8, [x20, #16]
	cmp	x0, x8
	b.lt	LBB0_5
; %bb.4:
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh10:
	ldr	w19, [x8]
	str	w0, [x20, #4]
LBB0_5:
	ldur	x8, [x29, #-40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%*d"

	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_set_digit
.subsections_via_symbols
