	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_hex_sentence
_parse_hex_sentence:                    ## @parse_hex_sentence
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%r14d, %r14d
	testl	%esi, %esi
	jle	LBB0_17
## %bb.1:
	testl	%ecx, %ecx
	jle	LBB0_17
## %bb.2:
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movl	%esi, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	%ecx, %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	movq	%rdx, -136(%rbp)                ## 8-byte Spill
	movl	%esi, -84(%rbp)                 ## 4-byte Spill
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##     Child Loop BB0_8 Depth 2
	cmpl	%esi, %r12d
	jge	LBB0_17
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r12d, %r13
	movq	%r13, %r15
	shlq	$32, %r15
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	(%rbx,%r13), %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_6
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=2
	incq	%r13
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	addq	%rax, %r15
	cmpq	%r13, %r12
	jne	LBB0_5
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r13d, %r12d
	cmpl	-84(%rbp), %r13d                ## 4-byte Folded Reload
	jge	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %r12
	sarq	$32, %r12
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movsbl	(%rax,%r12), %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	incq	%r12
	cmpq	%r12, -96(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-96(%rbp), %r12                 ## 8-byte Reload
                                        ## kill: def $r12d killed $r12d killed $r12 def $r12
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	movl	%r12d, %r14d
	subl	%r13d, %r14d
	cmpl	$17, %r14d
	jge	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	sarq	$32, %r15
	addq	-104(%rbp), %r15                ## 8-byte Folded Reload
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movslq	%r14d, %rax
	movb	$0, -80(%rbp,%rax)
	movq	%rbx, %rdi
	movl	$16, %esi
	leaq	-108(%rbp), %rdx
	callq	_kstrtou8
	testq	%rax, %rax
	jne	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	-108(%rbp), %eax
	movq	-120(%rbp), %r14                ## 8-byte Reload
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	movl	%eax, (%rdx,%r14,4)
	incq	%r14
	movl	-84(%rbp), %esi                 ## 4-byte Reload
	cmpl	%esi, %r12d
	jge	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	-128(%rbp), %r14                ## 8-byte Folded Reload
	jb	LBB0_3
	jmp	LBB0_17
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.18:
	movl	%r14d, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MAX_WORD_SIZE,4,2              ## @MAX_WORD_SIZE
	.no_dead_strip	_parse_hex_sentence
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_hex_sentence
_parse_hex_sentence:                    ; @parse_hex_sentence
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x21, x0
	mov	w0, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	cmp	w1, #1
	b.lt	LBB0_18
; %bb.1:
	cmp	w3, #1
	b.lt	LBB0_18
; %bb.2:
	mov	x19, x2
	mov	x20, x1
	mov	x23, #0
	mov	w28, #0
	mov	x25, #4294967296
	mov	w26, w1
	mov	w27, w3
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
	cmp	w28, w20
	b.ge	LBB0_20
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x22, w28
	sbfiz	x24, x28, #32, #32
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w0, [x21, x22]
	bl	_isspace
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	add	x22, x22, #1
	add	x24, x24, x25
	cmp	x26, x22
	b.ne	LBB0_5
	b	LBB0_17
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x28, x22
	cmp	w22, w20
	b.ge	LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	asr	x28, x24, #32
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w0, [x21, x28]
	bl	_isspace
	cbnz	x0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x28, x28, #1
	cmp	x26, x28
	b.ne	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x28, x26
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
                                        ; kill: def $w28 killed $w28 killed $x28 def $x28
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w22, w28, w22
	cmp	w22, #17
	b.ge	LBB0_21
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x1, x21, x24, asr #32
	add	x0, sp, #7
	mov	x2, x22
	bl	_memcpy
	add	x8, sp, #7
	strb	wzr, [x8, w22, sxtw]
	add	x0, sp, #7
	mov	x2, sp
	mov	w1, #16
	bl	_kstrtou8
	cbnz	x0, LBB0_21
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [sp]
	add	x0, x23, #1
	str	w8, [x19, x23, lsl #2]
	cmp	w28, w20
	b.ge	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x0
	cmp	x0, x27
	b.lo	LBB0_3
	b	LBB0_18
LBB0_17:
	mov	x0, x23
LBB0_18:
	ldr	x8, [sp, #24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.19:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_20:
	mov	x0, x23
	b	LBB0_18
LBB0_21:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_18
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MAX_WORD_SIZE,4,2              ; @MAX_WORD_SIZE
	.no_dead_strip	_parse_hex_sentence
.subsections_via_symbols
