	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fmtint
_fmtint:                                ## @fmtint
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -120(%rbp)
	addl	$-88, %esi
	cmpl	$32, %esi
	ja	LBB0_19
## %bb.1:
	movl	%r9d, %r15d
	movl	%r8d, %r13d
	movl	%ecx, %r12d
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %r14
	movl	$8, %edi
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rsi
	addq	%rax, %rsi
	movq	%rbx, %rcx
	jmpq	*%rsi
LBB0_2:
	movq	%rbx, %rdi
	shrq	$63, %rdi
	leaq	-120(%rbp), %rax
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%edx, %esi
	movq	%rax, %rdx
	callq	_adjust_sign
	movq	%rbx, %rcx
	negq	%rcx
	testq	%rax, %rax
	cmoveq	%rbx, %rcx
	movl	$10, %edi
	jmp	LBB0_7
LBB0_3:
	leaq	L_.str.1(%rip), %r14
LBB0_4:
	movl	$16, %edi
	jmp	LBB0_6
LBB0_5:
	movl	$10, %edi
LBB0_6:
	movq	%rbx, %rcx
LBB0_7:
	movl	16(%rbp), %esi
	testl	%esi, %esi
	jne	LBB0_10
## %bb.8:
	testq	%rbx, %rbx
	jne	LBB0_10
## %bb.9:
	xorl	%ebx, %ebx
	cmpl	$0, 24(%rbp)
	jne	LBB0_16
LBB0_10:
	xorl	%ebx, %ebx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%rcx, %rax
	xorl	%edx, %edx
	divq	%rdi
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=1
	movzbl	(%r14,%rdx), %edx
	movb	%dl, -49(%rbp,%rbx)
	decq	%rbx
	cmpq	%rcx, %rdi
	movq	%rax, %rcx
	ja	LBB0_15
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rax
	shrq	$32, %rax
	jne	LBB0_11
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $eax killed $eax def $rax
	jmp	LBB0_12
LBB0_15:
	negl	%ebx
LBB0_16:
	subl	%ebx, %esi
	xorl	%edi, %edi
	callq	_Max
	movl	%eax, %r14d
	leal	(%r14,%rbx), %esi
	movl	%r13d, %edi
	movl	%r12d, %edx
	callq	_compute_padlen
	movl	%eax, -116(%rbp)
	movl	-120(%rbp), %esi
	leaq	-116(%rbp), %rdx
	movl	%r15d, %edi
	movq	32(%rbp), %r15
	movq	%r15, %rcx
	callq	_leading_pad
	testl	%r14d, %r14d
	jle	LBB0_18
## %bb.17:
	movl	$48, %edi
	movl	%r14d, %esi
	movq	%r15, %rdx
	callq	_dopr_outchmulti
LBB0_18:
	movslq	%ebx, %rax
	negq	%rax
	leaq	(%rax,%rbp), %rdi
	addq	$-48, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_dostr
	movl	-116(%rbp), %edi
	movq	%r15, %rsi
	callq	_trailing_pad
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_2
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_2
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_7
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_5
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0123456789abcdef"

L_.str.1:                               ## @.str.1
	.asciz	"0123456789ABCDEF"

	.no_dead_strip	_fmtint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fmtint
_fmtint:                                ; @fmtint
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	str	x9, [sp, #72]
	str	wzr, [sp, #4]
	sub	w11, w1, #88
	cmp	w11, #32
	b.hi	LBB0_18
; %bb.1:
	mov	x24, x7
	mov	x22, x6
	mov	x19, x5
	mov	x21, x4
	mov	x20, x3
	mov	x25, x0
Lloh3:
	adrp	x9, l_.str@PAGE
Lloh4:
	add	x9, x9, l_.str@PAGEOFF
	mov	w10, #8
Lloh5:
	adrp	x12, lJTI0_0@PAGE
Lloh6:
	add	x12, x12, lJTI0_0@PAGEOFF
	adr	x13, LBB0_2
	ldrb	w14, [x12, x11]
	add	x13, x13, x14, lsl #2
	mov	x11, x0
	br	x13
LBB0_2:
	mov	x8, x2
	lsr	x0, x25, #63
	add	x2, sp, #4
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	x1, x8
	bl	_adjust_sign
	cmp	x0, #0
	cneg	x11, x25, ne
Lloh7:
	adrp	x9, l_.str@PAGE
Lloh8:
	add	x9, x9, l_.str@PAGEOFF
	mov	w10, #10
LBB0_3:
	ldr	x23, [x29, #16]
	cbz	w22, LBB0_9
	b	LBB0_12
LBB0_4:
Lloh9:
	adrp	x9, l_.str.1@PAGE
Lloh10:
	add	x9, x9, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_5:
Lloh11:
	adrp	x9, l_.str@PAGE
Lloh12:
	add	x9, x9, l_.str@PAGEOFF
	mov	w10, #10
	b	LBB0_8
LBB0_6:
Lloh13:
	adrp	x9, l_.str@PAGE
Lloh14:
	add	x9, x9, l_.str@PAGEOFF
LBB0_7:
	mov	w10, #16
LBB0_8:
	mov	x11, x25
	ldr	x23, [x29, #16]
	cbnz	w22, LBB0_12
LBB0_9:
	cbnz	x25, LBB0_12
; %bb.10:
	cbz	w24, LBB0_12
; %bb.11:
	mov	w24, #0
	b	LBB0_15
LBB0_12:
	mov	x8, #0
	add	x12, sp, #8
	add	x12, x12, #63
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	udiv	x13, x11, x10
	msub	x14, x13, x10, x11
	ldrb	w14, [x9, x14]
	strb	w14, [x12, x8]
	sub	x8, x8, #1
	cmp	x10, x11
	mov	x11, x13
	b.ls	LBB0_13
; %bb.14:
	neg	w24, w8
LBB0_15:
	sub	w1, w22, w24
	mov	w0, #0
	bl	_Max
	mov	x22, x0
	add	w1, w0, w24
	mov	x0, x21
	mov	x2, x20
	bl	_compute_padlen
	str	w0, [sp]
	ldr	w1, [sp, #4]
	mov	x2, sp
	mov	x0, x19
	mov	x3, x23
	bl	_leading_pad
	cmp	w22, #1
	b.lt	LBB0_17
; %bb.16:
	mov	w0, #48
	mov	x1, x22
	mov	x2, x23
	bl	_dopr_outchmulti
LBB0_17:
	add	x8, sp, #8
	sub	x8, x8, w24, sxtw
	add	x0, x8, #64
	mov	x1, x24
	mov	x2, x23
	bl	_dostr
	ldr	w0, [sp]
	mov	x1, x23
	bl	_trailing_pad
LBB0_18:
	ldr	x8, [sp, #72]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0123456789abcdef"

l_.str.1:                               ; @.str.1
	.asciz	"0123456789ABCDEF"

	.no_dead_strip	_fmtint
.subsections_via_symbols
