	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_int                      ## -- Begin function parse_int
	.p2align	4, 0x90
_parse_int:                             ## @parse_int
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r12
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movl	$0, (%r13)
LBB0_2:
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	movq	$0, (%r14)
LBB0_4:
	movq	_errno@GOTPCREL(%rip), %r15
	movq	$0, (%r15)
	leaq	-64(%rbp), %rsi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_strtol
	movsd	%xmm0, -56(%rbp)
	movq	-64(%rbp), %rbx
	movb	(%rbx), %al
	addb	$-46, %al
	cmpb	$55, %al
	ja	LBB0_12
## %bb.5:
	movzbl	%al, %eax
	movabsq	$36028797027352577, %rcx        ## imm = 0x80000000800001
	btq	%rax, %rcx
	jae	LBB0_12
LBB0_6:
	movq	$0, (%r15)
	leaq	-64(%rbp), %rsi
	movq	%r12, %rdi
	callq	_strtod
	movsd	%xmm0, -56(%rbp)
	movq	-64(%rbp), %rbx
LBB0_7:
	xorl	%eax, %eax
	cmpq	%r12, %rbx
	je	LBB0_11
## %bb.8:
	movq	(%r15), %rdx
	movq	_ERANGE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	je	LBB0_11
## %bb.9:
	movsd	%xmm0, -72(%rbp)                ## 8-byte Spill
	callq	_isnan
	testq	%rax, %rax
	je	LBB0_13
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	(%r15), %rax
	movq	_ERANGE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
	jmp	LBB0_7
LBB0_13:
	decq	%rbx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movzbl	1(%rbx), %edi
	incq	%rbx
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_14
## %bb.15:
	cmpb	$0, (%rbx)
	je	LBB0_19
## %bb.16:
	movq	_GUC_UNIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	-44(%rbp), %esi                 ## 4-byte Folded Reload
	je	LBB0_10
## %bb.17:
	leaq	-56(%rbp), %rdx
	movsd	-72(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movq	%rbx, %rdi
	callq	_convert_to_base_unit
	testl	%eax, %eax
	je	LBB0_27
## %bb.18:
	movsd	-56(%rbp), %xmm0                ## xmm0 = mem[0],zero
	jmp	LBB0_20
LBB0_19:
	movsd	-72(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
LBB0_20:
	roundsd	$4, %xmm0, %xmm0
	movsd	%xmm0, -56(%rbp)
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	ucomisd	(%rax), %xmm0
	ja	LBB0_24
## %bb.21:
	movq	_INT_MIN@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	ja	LBB0_24
## %bb.22:
	movl	$1, %eax
	testq	%r13, %r13
	je	LBB0_11
## %bb.23:
	cvttsd2si	%xmm0, %ecx
	movl	%ecx, (%r13)
	jmp	LBB0_11
LBB0_24:
	testq	%r14, %r14
	je	LBB0_10
## %bb.25:
	leaq	L_.str(%rip), %rdi
	callq	_gettext_noop
	movq	%rax, (%r14)
	jmp	LBB0_10
LBB0_27:
	testq	%r14, %r14
	movl	$0, %eax
	je	LBB0_11
## %bb.28:
	movq	_GUC_UNIT_MEMORY@GOTPCREL(%rip), %rcx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, (%rcx)
	je	LBB0_31
## %bb.29:
	movq	_memory_units_hint@GOTPCREL(%rip), %rcx
	jmp	LBB0_32
LBB0_31:
	movq	_time_units_hint@GOTPCREL(%rip), %rcx
LBB0_32:
	movq	(%rcx), %rcx
	movq	%rcx, (%r14)
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_ERANGE,8,3                     ## @ERANGE
	.comm	_GUC_UNIT,4,2                   ## @GUC_UNIT
	.comm	_GUC_UNIT_MEMORY,4,2            ## @GUC_UNIT_MEMORY
	.comm	_memory_units_hint,8,3          ## @memory_units_hint
	.comm	_time_units_hint,8,3            ## @time_units_hint
	.comm	_INT_MAX,8,3                    ## @INT_MAX
	.comm	_INT_MIN,8,3                    ## @INT_MIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Value exceeds integer range."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_int                      ; -- Begin function parse_int
	.p2align	2
_parse_int:                             ; @parse_int
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 b8, -72
	.cfi_offset b9, -80
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	cbz	x1, LBB0_2
; %bb.1:
	str	wzr, [x20]
LBB0_2:
	cbz	x19, LBB0_4
; %bb.3:
	str	xzr, [x19]
LBB0_4:
Lloh0:
	adrp	x23, _errno@GOTPAGE
Lloh1:
	ldr	x23, [x23, _errno@GOTPAGEOFF]
	str	xzr, [x23]
	mov	x1, sp
	mov	x0, x22
	mov	w2, #0
	bl	_strtol
	str	d0, [sp, #8]
	ldr	x24, [sp]
	ldrb	w8, [x24]
	sub	w8, w8, #46
	cmp	w8, #55
	mov	w9, #1
	lsl	x8, x9, x8
	mov	x9, #36028797027352576
	movk	x9, #1
	and	x8, x8, x9
	ccmp	x8, #0, #4, ls
	b.eq	LBB0_10
LBB0_5:
	str	xzr, [x23]
	mov	x1, sp
	mov	x0, x22
	bl	_strtod
	fmov	d8, d0
	str	d0, [sp, #8]
	ldr	x24, [sp]
	cmp	x24, x22
	b.eq	LBB0_8
LBB0_6:
	ldr	x8, [x23]
Lloh2:
	adrp	x9, _ERANGE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ERANGE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.7:
	fmov	d0, d8
	bl	_isnan
	cbz	x0, LBB0_12
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_10:
	ldr	x8, [x23]
Lloh5:
	adrp	x9, _ERANGE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ERANGE@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.11:
	fmov	d8, d0
	cmp	x24, x22
	b.ne	LBB0_6
	b	LBB0_8
LBB0_12:
	sub	x22, x24, #1
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w0, [x22, #1]!
	bl	_isspace
	cbnz	x0, LBB0_13
; %bb.14:
	ldrb	w8, [x22]
	cbz	w8, LBB0_18
; %bb.15:
Lloh8:
	adrp	x8, _GUC_UNIT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GUC_UNIT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ands	w1, w8, w21
	b.eq	LBB0_8
; %bb.16:
	add	x2, sp, #8
	fmov	d0, d8
	mov	x0, x22
	bl	_convert_to_base_unit
	cbz	w0, LBB0_24
; %bb.17:
	ldr	d8, [sp, #8]
LBB0_18:
	frintx	d0, d8
	str	d0, [sp, #8]
Lloh11:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh12:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh13:
	ldr	d1, [x8]
Lloh14:
	adrp	x8, _INT_MIN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _INT_MIN@GOTPAGEOFF]
Lloh16:
	ldr	d2, [x8]
	fcmp	d0, d1
	fccmp	d0, d2, #8, le
	b.pl	LBB0_21
; %bb.19:
	cbz	x19, LBB0_8
; %bb.20:
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	bl	_gettext_noop
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_9
LBB0_21:
	cbz	x20, LBB0_23
; %bb.22:
	fcvtzs	w8, d0
	str	w8, [x20]
LBB0_23:
	mov	w0, #1
	b	LBB0_9
LBB0_24:
	cbz	x19, LBB0_8
; %bb.25:
Lloh19:
	adrp	x8, _GUC_UNIT_MEMORY@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GUC_UNIT_MEMORY@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_27
; %bb.26:
	mov	w0, #0
Lloh22:
	adrp	x8, _memory_units_hint@GOTPAGE
Lloh23:
	ldr	x8, [x8, _memory_units_hint@GOTPAGEOFF]
	b	LBB0_28
LBB0_27:
	mov	w0, #0
Lloh24:
	adrp	x8, _time_units_hint@GOTPAGE
Lloh25:
	ldr	x8, [x8, _time_units_hint@GOTPAGEOFF]
LBB0_28:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_ERANGE,8,3                     ; @ERANGE
	.comm	_GUC_UNIT,4,2                   ; @GUC_UNIT
	.comm	_GUC_UNIT_MEMORY,4,2            ; @GUC_UNIT_MEMORY
	.comm	_memory_units_hint,8,3          ; @memory_units_hint
	.comm	_time_units_hint,8,3            ; @time_units_hint
	.comm	_INT_MAX,8,3                    ; @INT_MAX
	.comm	_INT_MIN,8,3                    ; @INT_MIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Value exceeds integer range."

.subsections_via_symbols
