	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_strtoul                    ## -- Begin function isc_strtoul
	.p2align	4, 0x90
_isc_strtoul:                           ## @isc_strtoul
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %r13d
	incq	%rbx
	movzbl	%r13b, %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	cmpb	$43, %r13b
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.3:
	cmpb	$45, %r13b
	jne	LBB0_5
LBB0_4:
	movb	(%rbx), %r12b
	incq	%rbx
	testl	$-17, %r15d
	je	LBB0_6
	jmp	LBB0_9
LBB0_5:
	movl	%r13d, %r12d
	testl	$-17, %r15d
	jne	LBB0_9
LBB0_6:
	cmpb	$48, %r12b
	jne	LBB0_9
## %bb.7:
	movb	(%rbx), %al
	orb	$32, %al
	cmpb	$120, %al
	jne	LBB0_10
## %bb.8:
	movb	1(%rbx), %r12b
	addq	$2, %rbx
	movl	$16, %r15d
	jmp	LBB0_13
LBB0_9:
	testl	%r15d, %r15d
	sete	%al
	movl	$10, %ecx
	cmpb	$48, %r12b
	je	LBB0_11
	jmp	LBB0_12
LBB0_10:
	testl	%r15d, %r15d
	sete	%al
LBB0_11:
	movl	$8, %ecx
	movb	$48, %r12b
LBB0_12:
	testb	%al, %al
	cmovnel	%ecx, %r15d
LBB0_13:
	movq	_ULONG_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r15d, %r14
	movq	%rax, %rcx
	orq	%r14, %rcx
	shrq	$32, %rcx
	je	LBB0_15
## %bb.14:
	xorl	%edx, %edx
	divq	%r14
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_16
LBB0_15:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%r15d
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
                                        ## kill: def $eax killed $eax def $rax
LBB0_16:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movzbl	%r12b, %edi
	callq	_isascii
	testl	%eax, %eax
	je	LBB0_31
## %bb.17:
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	%r14, %r15
LBB0_19:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movzbl	(%rbx), %r12d
	incq	%rbx
	movzbl	%r12b, %edi
	callq	_isascii
	movq	%r15, %r14
	testl	%eax, %eax
	je	LBB0_34
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movzbl	%r12b, %r15d
	movl	%r15d, %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	addb	$-48, %r12b
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=1
	movl	%r15d, %edi
	callq	_isalpha
	testq	%rax, %rax
	je	LBB0_33
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=1
	movl	%r15d, %edi
	callq	_isupper
	testq	%rax, %rax
	setne	%al
	shlb	$5, %al
	addb	%r12b, %al
	addb	$-87, %al
	movl	%eax, %r12d
LBB0_24:                                ##   in Loop: Header=BB0_20 Depth=1
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movzbl	%r12b, %eax
	cmpl	%eax, %ecx
	jle	LBB0_33
## %bb.25:                              ##   in Loop: Header=BB0_20 Depth=1
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	movl	$-1, %ecx
	js	LBB0_30
## %bb.26:                              ##   in Loop: Header=BB0_20 Depth=1
	cmpq	-64(%rbp), %r14                 ## 8-byte Folded Reload
	ja	LBB0_30
## %bb.27:                              ##   in Loop: Header=BB0_20 Depth=1
	jne	LBB0_18
## %bb.28:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	cmpl	-80(%rbp), %eax                 ## 4-byte Folded Reload
	jg	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_20 Depth=1
	imulq	-96(%rbp), %r14                 ## 8-byte Folded Reload
	movl	%eax, %r15d
	addq	%r14, %r15
	movl	$1, %ecx
	jmp	LBB0_19
LBB0_31:
	xorl	%ecx, %ecx
	xorl	%r15d, %r15d
	jmp	LBB0_35
LBB0_33:
	movq	%r14, %r15
LBB0_34:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	testl	%ecx, %ecx
	js	LBB0_38
LBB0_35:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, %r14
	negq	%r14
	cmpb	$45, %r13b
	cmovneq	%r15, %r14
	testq	%rax, %rax
	je	LBB0_37
LBB0_36:
	decq	%rbx
	testl	%ecx, %ecx
	cmoveq	-88(%rbp), %rbx                 ## 8-byte Folded Reload
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_DE_CONST
LBB0_37:
	movq	%r14, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_38:
	movq	_ULONG_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_ERANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %ecx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	jne	LBB0_36
	jmp	LBB0_37
	.cfi_endproc
                                        ## -- End function
	.comm	_ULONG_MAX,8,3                  ## @ULONG_MAX
	.comm	_ERANGE,4,2                     ## @ERANGE
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_strtoul                    ; -- Begin function isc_strtoul
	.p2align	2
_isc_strtoul:                           ; @isc_strtoul
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x2
	mov	x19, x1
	mov	x25, x0
	mov	x24, x0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w21, [x24], #1
	mov	x0, x21
	bl	_isspace
	cbnz	x0, LBB0_1
; %bb.2:
	cmp	w21, #43
	b.eq	LBB0_4
; %bb.3:
	cmp	w21, #45
	b.ne	LBB0_5
LBB0_4:
	ldrb	w22, [x24], #1
	tst	w23, #0xffffffef
	b.eq	LBB0_6
	b	LBB0_9
LBB0_5:
	mov	x22, x21
	tst	w23, #0xffffffef
	b.ne	LBB0_9
LBB0_6:
	cmp	w22, #48
	b.ne	LBB0_9
; %bb.7:
	ldrb	w8, [x24]
	orr	w8, w8, #0x20
	cmp	w8, #120
	b.ne	LBB0_11
; %bb.8:
	ldrb	w22, [x24, #1]
	add	x24, x24, #2
	mov	w20, #16
	b	LBB0_14
LBB0_9:
	cmp	w23, #0
	cset	w8, eq
	cmp	w22, #48
	b.eq	LBB0_12
; %bb.10:
	mov	w9, #10
	b	LBB0_13
LBB0_11:
	cmp	w23, #0
	cset	w8, eq
LBB0_12:
	mov	w9, #8
	mov	w22, #48
LBB0_13:
	cmp	w8, #0
	csel	w20, w9, w23, ne
LBB0_14:
Lloh0:
	adrp	x8, _ULONG_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ULONG_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	mov	x0, x22
	bl	_isascii
	cbz	w0, LBB0_28
; %bb.15:
	stp	x25, x19, [sp]                  ; 16-byte Folded Spill
	mov	w19, #0
	mov	x26, #0
	sxtw	x27, w20
	udiv	x28, x23, x27
	msub	w25, w28, w27, w23
	mov	w20, #-87
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=1
	mul	x9, x26, x27
	add	x26, x9, w8, uxtw
	mov	w23, #1
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	ldrb	w22, [x24], #1
	mov	x0, x22
	bl	_isascii
	mov	x19, x23
	cbz	w0, LBB0_30
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	and	w23, w22, #0xff
	mov	x0, x23
	bl	_isdigit
	cbz	x0, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	sub	w8, w22, #48
	b	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x23
	bl	_isalpha
	cbz	x0, LBB0_35
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=1
	and	w0, w22, #0xff
	bl	_isupper
	cmp	x0, #0
	mov	w8, #-55
	csel	w8, w20, w8, eq
	add	w8, w8, w22
LBB0_22:                                ;   in Loop: Header=BB0_18 Depth=1
	and	w8, w8, #0xff
	cmp	w27, w8
	b.le	LBB0_29
; %bb.23:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	w23, #-1
	tbnz	w19, #31, LBB0_17
; %bb.24:                               ;   in Loop: Header=BB0_18 Depth=1
	cmp	x26, x28
	b.hi	LBB0_17
; %bb.25:                               ;   in Loop: Header=BB0_18 Depth=1
	b.ne	LBB0_16
; %bb.26:                               ;   in Loop: Header=BB0_18 Depth=1
	cmp	w8, w25
	b.le	LBB0_16
; %bb.27:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	w23, #-1
	mov	x26, x28
	b	LBB0_17
LBB0_28:
	mov	w23, #0
	mov	x26, #0
	b	LBB0_32
LBB0_29:
	mov	x23, x19
LBB0_30:
	tbnz	w23, #31, LBB0_36
LBB0_31:
	ldp	x25, x19, [sp]                  ; 16-byte Folded Reload
LBB0_32:
	cmp	w21, #45
	cneg	x21, x26, eq
	cbz	x19, LBB0_34
LBB0_33:
	sub	x8, x24, #1
	cmp	w23, #0
	csel	x0, x25, x8, eq
	ldr	x1, [x19]
	bl	_DE_CONST
LBB0_34:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_35:
	mov	x23, x19
	tbz	w23, #31, LBB0_31
LBB0_36:
Lloh3:
	adrp	x8, _ERANGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
Lloh5:
	adrp	x9, _ULONG_MAX@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ULONG_MAX@GOTPAGEOFF]
Lloh7:
	ldr	x21, [x9]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _errno@GOTPAGE
Lloh10:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
	mov	w23, #-1
	ldp	x25, x19, [sp]                  ; 16-byte Folded Reload
	cbnz	x19, LBB0_33
	b	LBB0_34
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ULONG_MAX,8,3                  ; @ULONG_MAX
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
