	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function format_hex
_format_hex:                            ## @format_hex
	.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
                                        ## kill: def $edx killed $edx def $rdx
	leal	(,%rdx,4), %ecx
	movl	$-1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	notl	%eax
	testl	%edi, %edi
	sets	%cl
	cmpl	%edi, %eax
	setl	%bl
	orb	%cl, %bl
	cmovnel	%eax, %edi
	movzbl	%bl, %ebx
	negl	%ebx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_format_hex_recursive
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_format_hex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function format_hex
_format_hex:                            ; @format_hex
	.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
	lsl	w8, w2, #2
	mov	w9, #-1
	lsl	w8, w9, w8
	mvn	w9, w8
	cmp	w0, #0
	ccmp	w9, w0, #8, ge
	cset	w9, lt
	cmp	w9, #0
	csinv	w0, w0, w8, eq
	sbfx	w19, w9, #0, #1
	bl	_format_hex_recursive
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_format_hex
.subsections_via_symbols
