	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function integer_arg
_integer_arg:                           ## @integer_arg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	cmpb	$48, (%rdi)
	jne	LBB0_1
## %bb.2:
	cmpb	$120, 1(%r14)
	jne	LBB0_3
## %bb.4:
	leaq	2(%r14), %rax
	movl	$16, %ecx
	movb	$1, %r8b
	jmp	LBB0_5
LBB0_1:
	movl	$10, %ecx
	xorl	%r8d, %r8d
	movq	%r14, %rax
	jmp	LBB0_5
LBB0_3:
	leaq	1(%r14), %rax
	movl	$8, %ecx
	xorl	%r8d, %r8d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%esi, %edx
	andl	$-41, %edx
	addl	$-65, %edx
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rax
	imull	%ecx, %ebx
	addl	$-48, %esi
	cmpb	$10, %dil
	cmovael	%edx, %esi
	addl	%ebx, %esi
	movl	%esi, %ebx
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rax), %esi
	leal	-48(%rsi), %edi
	cmpb	$9, %dil
	jbe	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	testb	%r8b, %r8b
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%esi, %edx
	andl	$-41, %edx
	addl	$-65, %edx
	cmpl	$25, %edx
	jbe	LBB0_9
LBB0_10:
	leaq	1(%rax), %rcx
	cmpb	$66, %sil
	je	LBB0_14
## %bb.11:
	cmpb	$98, %sil
	jne	LBB0_12
## %bb.13:
	shll	$9, %ebx
	cmpb	$0, (%rcx)
	jne	LBB0_16
	jmp	LBB0_17
LBB0_14:
	shll	$10, %ebx
	cmpb	$0, (%rcx)
	jne	LBB0_16
	jmp	LBB0_17
LBB0_12:
	movq	%rax, %rcx
	cmpb	$0, (%rcx)
	je	LBB0_17
LBB0_16:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_fatal
LBB0_17:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid integer argument %s"

	.no_dead_strip	_integer_arg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function integer_arg
_integer_arg:                           ; @integer_arg
	.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
	mov	x19, x0
	ldrb	w8, [x0]
	cmp	w8, #48
	b.ne	LBB0_2
; %bb.1:
	mov	x10, x19
	ldrb	w8, [x10, #1]!
	mov	w9, #8
	add	x11, x19, #2
	mov	w12, #16
	mov	w13, #1
	cmp	w8, #120
	csel	w8, wzr, w13, ne
	csel	w9, w9, w12, ne
	csel	x11, x10, x11, ne
	b	LBB0_3
LBB0_2:
	mov	w8, #0
	mov	w9, #10
	mov	x11, x19
LBB0_3:
	mov	w10, #0
	mov	w12, #-41
	mov	x13, x11
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	and	w11, w15, w12
	sub	w16, w11, #65
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	and	w11, w14, #0xff
	cmp	w11, #10
	csel	w11, w14, w16, lo
	madd	w10, w10, w9, w11
	mov	x11, x13
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w15, [x13], #1
	sub	w14, w15, #48
	cmp	w14, #9
	b.ls	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	w8, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	and	w16, w15, w12
	sub	w16, w16, #65
	cmp	w16, #25
	b.ls	LBB0_5
LBB0_9:
	and	w8, w15, #0xff
	lsl	w9, w10, #10
	lsl	w12, w10, #9
	cmp	w8, #98
	csel	w8, w12, w10, eq
	cinc	x10, x11, eq
	cmp	w15, #66
	csel	w20, w9, w8, eq
	csinc	x8, x10, x11, ne
	ldrb	w8, [x8]
	cbz	w8, LBB0_11
; %bb.10:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_fatal
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid integer argument %s"

	.no_dead_strip	_integer_arg
.subsections_via_symbols
