	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function git_parse_unsigned
_git_parse_unsigned:                    ## @git_parse_unsigned
	.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
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	cmpb	$0, (%rdi)
	je	LBB0_10
## %bb.2:
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	_errno@GOTPCREL(%rip), %r13
	movq	$0, (%r13)
	leaq	-48(%rbp), %rsi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_strtoumax
	movl	%eax, %r12d
	movq	(%r13), %rax
	movq	_ERANGE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.3:
	movq	-48(%rbp), %rdi
	callq	_get_unit_factor
	testl	%eax, %eax
	je	LBB0_4
## %bb.6:
	movl	%eax, %r13d
	movl	%eax, %edi
	movl	%r12d, %esi
	callq	_unsigned_mult_overflows
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	imull	%r12d, %r13d
	cmpl	%r15d, %r13d
	jle	LBB0_9
LBB0_8:
	movq	_ERANGE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_errno@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%rax), %rax
	movq	_errno@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	%r13d, (%r14)
	movl	$1, %ebx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_ERANGE,8,3                     ## @ERANGE
	.comm	_EINVAL,8,3                     ## @EINVAL
	.no_dead_strip	_git_parse_unsigned
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function git_parse_unsigned
_git_parse_unsigned:                    ; @git_parse_unsigned
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	x0, LBB0_7
; %bb.1:
	ldrb	w8, [x0]
	cbz	w8, LBB0_7
; %bb.2:
	mov	x20, x2
	mov	x19, x1
Lloh0:
	adrp	x23, _errno@GOTPAGE
Lloh1:
	ldr	x23, [x23, _errno@GOTPAGEOFF]
	str	xzr, [x23]
	add	x1, sp, #8
	mov	w2, #0
	bl	_strtoumax
	mov	x21, x0
	mov	w0, #0
	ldr	x8, [x23]
Lloh2:
	adrp	x24, _ERANGE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _ERANGE@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.3:
	ldr	x0, [sp, #8]
	bl	_get_unit_factor
	cbz	w0, LBB0_9
; %bb.4:
	mov	x22, x0
	mov	x1, x21
	bl	_unsigned_mult_overflows
	cbnz	x0, LBB0_6
; %bb.5:
	mul	w8, w22, w21
	cmp	w8, w20
	b.le	LBB0_10
LBB0_6:
	mov	w0, #0
	ldr	x8, [x24]
	str	x8, [x23]
	b	LBB0_8
LBB0_7:
	mov	w0, #0
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x9, _errno@GOTPAGE
Lloh8:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh9:
	str	x8, [x9]
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_9:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	str	x8, [x23]
	b	LBB0_8
LBB0_10:
	str	w8, [x19]
	mov	w0, #1
	b	LBB0_8
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_ERANGE,8,3                     ; @ERANGE
	.comm	_EINVAL,8,3                     ; @EINVAL
	.no_dead_strip	_git_parse_unsigned
.subsections_via_symbols
