	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_addr
_parse_addr:                            ## @parse_addr
	.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
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	movq	%rdi, %r15
	callq	_strlen
	cmpl	$2, %eax
	jl	LBB0_10
## %bb.2:
	movl	%eax, %r12d
	movq	_ADDRLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_memset
	cmpl	$13, %r12d
	movl	$13, %ebx
	cmovll	%r12d, %ebx
	addl	$-2, %ebx
	movl	$20, %r12d
	movl	$1, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	1(%rbx), %r14d
	movsbl	(%r15,%r14), %edi
	callq	_hex_to_bin
	cmpl	$-1, %eax
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%r12)
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %eax
	movsbl	(%r15,%rax), %edi
	callq	_hex_to_bin
	cmpl	$-1, %eax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	shll	$4, %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, (%rcx,%r12)
	testq	%r12, %r12
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$-4, %r12
	addl	$-2, %ebx
	cmpl	$2, %r14d
	jg	LBB0_3
	jmp	LBB0_10
LBB0_9:
	xorl	%r13d, %r13d
LBB0_10:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADDRLEN,4,2                    ## @ADDRLEN
	.no_dead_strip	_parse_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_addr
_parse_addr:                            ; @parse_addr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x0, LBB0_28
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	bl	_strlen
	cmp	w0, #2
	b.lt	LBB0_27
; %bb.2:
	mov	x21, x0
Lloh0:
	adrp	x8, _ADDRLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADDRLEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_memset
	mov	w8, #13
	cmp	w21, #13
	csel	w21, w21, w8, lt
	sub	w8, w21, #1
	ldrsb	w0, [x20, w8, uxtw]
	bl	_hex_to_bin
	cmn	w0, #1
	b.eq	LBB0_27
; %bb.3:
	str	w0, [x19, #20]
	sub	w8, w21, #2
	cbz	w8, LBB0_26
; %bb.4:
	ldrsb	w0, [x20, w8, uxtw]
	bl	_hex_to_bin
	cmn	w0, #1
	b.eq	LBB0_27
; %bb.5:
	ldr	w8, [x19, #20]
	add	w8, w8, w0, lsl #4
	str	w8, [x19, #20]
	subs	w22, w21, #4
	b.lt	LBB0_26
; %bb.6:
	sub	w8, w21, #3
	ldrsb	w0, [x20, w8, uxtw]
	bl	_hex_to_bin
	cmn	w0, #1
	b.eq	LBB0_27
; %bb.7:
	str	w0, [x19, #16]
	cbz	w22, LBB0_26
; %bb.8:
	ldrsb	w0, [x20, w22, uxtw]
	bl	_hex_to_bin
	cmn	w0, #1
	b.eq	LBB0_27
; %bb.9:
	ldr	w8, [x19, #16]
	add	w8, w8, w0, lsl #4
	str	w8, [x19, #16]
	subs	w22, w21, #6
	b.lt	LBB0_26
; %bb.10:
	sub	w8, w21, #5
	ldrsb	w0, [x20, w8, uxtw]
	bl	_hex_to_bin
	cmn	w0, #1
	b.eq	LBB0_27
; %bb.11:
	str	w0, [x19, #12]
	cbz	w22, LBB0_26
; %bb.12:
	ldrsb	w0, [x20, w22, uxtw]
	bl	_hex_to_bin
	cmn	w0, #1
	b.eq	LBB0_27
; %bb.13:
	ldr	w8, [x19, #12]
	add	w8, w8, w0, lsl #4
	str	w8, [x19, #12]
	subs	w22, w21, #8
	b.lt	LBB0_26
; %bb.14:
	sub	w8, w21, #7
	ldrsb	w0, [x20, w8, uxtw]
	bl	_hex_to_bin
	cmn	w0, #1
	b.eq	LBB0_27
; %bb.15:
	str	w0, [x19, #8]
	cbz	w22, LBB0_26
; %bb.16:
	ldrsb	w0, [x20, w22, uxtw]
	bl	_hex_to_bin
	cmn	w0, #1
	b.eq	LBB0_27
; %bb.17:
	ldr	w8, [x19, #8]
	add	w8, w8, w0, lsl #4
	str	w8, [x19, #8]
	subs	w22, w21, #10
	b.lt	LBB0_26
; %bb.18:
	sub	w8, w21, #9
	ldrsb	w0, [x20, w8, uxtw]
	bl	_hex_to_bin
	cmn	w0, #1
	b.eq	LBB0_27
; %bb.19:
	str	w0, [x19, #4]
	cbz	w22, LBB0_26
; %bb.20:
	ldrsb	w0, [x20, w22, uxtw]
	bl	_hex_to_bin
	cmn	w0, #1
	b.eq	LBB0_27
; %bb.21:
	ldr	w8, [x19, #4]
	add	w8, w8, w0, lsl #4
	str	w8, [x19, #4]
	subs	w22, w21, #12
	b.lt	LBB0_26
; %bb.22:
	sub	w8, w21, #11
	ldrsb	w0, [x20, w8, uxtw]
	bl	_hex_to_bin
	cmn	w0, #1
	b.eq	LBB0_27
; %bb.23:
	str	w0, [x19]
	cbz	w22, LBB0_26
; %bb.24:
	ldrsb	w0, [x20, w22, uxtw]
	bl	_hex_to_bin
	cmn	w0, #1
	b.eq	LBB0_27
; %bb.25:
	ldr	w8, [x19]
	add	w8, w8, w0, lsl #4
	str	w8, [x19]
LBB0_26:
	mov	w0, #1
	b	LBB0_28
LBB0_27:
	mov	w0, #0
LBB0_28:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ADDRLEN,4,2                    ; @ADDRLEN
	.no_dead_strip	_parse_addr
.subsections_via_symbols
