	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bt_aton                        ## -- Begin function bt_aton
	.p2align	4, 0x90
_bt_aton:                               ## @bt_aton
	.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, %r12
	movq	%rdi, %rbx
	xorl	%r14d, %r14d
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%rbx, %rdi
	movl	$58, %esi
	callq	_strchr
	movq	%rax, %r13
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_43
## %bb.1:
	testq	%r13, %r13
	je	LBB0_43
## %bb.2:
	movq	%r13, %rcx
	subq	%rbx, %rcx
	cmpq	$2, %rcx
	je	LBB0_5
## %bb.3:
	cmpq	$1, %rcx
	jne	LBB0_43
## %bb.4:
	movsbl	%al, %edi
	callq	_bt_hex_nibble
	testl	%eax, %eax
	jns	LBB0_7
	jmp	LBB0_43
LBB0_5:
	movq	%rbx, %rdi
	callq	_bt_hex_byte
	testl	%eax, %eax
	js	LBB0_43
LBB0_7:
	movq	%r13, %rbx
	movq	(%r12), %rcx
	movl	%eax, 20(%rcx)
	incq	%r13
	movq	%r13, %rdi
	movl	$58, %esi
	callq	_strchr
	movq	%rax, %r15
	movb	1(%rbx), %al
	testb	%al, %al
	je	LBB0_43
## %bb.8:
	testq	%r15, %r15
	je	LBB0_43
## %bb.9:
	movq	%r15, %rcx
	subq	%r13, %rcx
	cmpq	$1, %rcx
	je	LBB0_12
## %bb.10:
	cmpq	$2, %rcx
	jne	LBB0_43
## %bb.11:
	movq	%r13, %rdi
	callq	_bt_hex_byte
	jmp	LBB0_13
LBB0_12:
	movsbl	%al, %edi
	callq	_bt_hex_nibble
LBB0_13:
	testl	%eax, %eax
	js	LBB0_43
## %bb.14:
	movq	%r15, %rbx
	movq	(%r12), %rcx
	movl	%eax, 16(%rcx)
	incq	%r15
	movq	%r15, %rdi
	movl	$58, %esi
	callq	_strchr
	movq	%rax, %r13
	movb	1(%rbx), %al
	testb	%al, %al
	je	LBB0_43
## %bb.15:
	testq	%r13, %r13
	je	LBB0_43
## %bb.16:
	movq	%r13, %rcx
	subq	%r15, %rcx
	cmpq	$1, %rcx
	je	LBB0_19
## %bb.17:
	cmpq	$2, %rcx
	jne	LBB0_43
## %bb.18:
	movq	%r15, %rdi
	callq	_bt_hex_byte
	jmp	LBB0_20
LBB0_19:
	movsbl	%al, %edi
	callq	_bt_hex_nibble
LBB0_20:
	testl	%eax, %eax
	js	LBB0_43
## %bb.21:
	movq	%r13, %rbx
	movq	(%r12), %rcx
	movl	%eax, 12(%rcx)
	incq	%r13
	movq	%r13, %rdi
	movl	$58, %esi
	callq	_strchr
	movq	%rax, %r15
	movb	1(%rbx), %al
	testb	%al, %al
	je	LBB0_43
## %bb.22:
	testq	%r15, %r15
	je	LBB0_43
## %bb.23:
	movq	%r15, %rcx
	subq	%r13, %rcx
	cmpq	$1, %rcx
	je	LBB0_26
## %bb.24:
	cmpq	$2, %rcx
	jne	LBB0_43
## %bb.25:
	movq	%r13, %rdi
	callq	_bt_hex_byte
	jmp	LBB0_27
LBB0_26:
	movsbl	%al, %edi
	callq	_bt_hex_nibble
LBB0_27:
	testl	%eax, %eax
	js	LBB0_43
## %bb.28:
	movq	%r15, %rbx
	movq	(%r12), %rcx
	movl	%eax, 8(%rcx)
	incq	%r15
	movq	%r15, %rdi
	movl	$58, %esi
	callq	_strchr
	movq	%rax, %r13
	movb	1(%rbx), %al
	testb	%al, %al
	je	LBB0_43
## %bb.29:
	testq	%r13, %r13
	je	LBB0_43
## %bb.30:
	movq	%r13, %rcx
	subq	%r15, %rcx
	cmpq	$1, %rcx
	je	LBB0_33
## %bb.31:
	cmpq	$2, %rcx
	jne	LBB0_43
## %bb.32:
	movq	%r15, %rdi
	callq	_bt_hex_byte
	jmp	LBB0_34
LBB0_33:
	movsbl	%al, %edi
	callq	_bt_hex_nibble
LBB0_34:
	testl	%eax, %eax
	js	LBB0_43
## %bb.35:
	movq	(%r12), %rcx
	movl	%eax, 4(%rcx)
	incq	%r13
	movq	%r13, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_36
LBB0_43:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_36:
	cmpb	$0, (%r13)
	je	LBB0_43
## %bb.37:
	movq	%r13, %rdi
	callq	_strlen
	cmpl	$2, %eax
	je	LBB0_40
## %bb.38:
	cmpl	$1, %eax
	jne	LBB0_43
## %bb.39:
	movsbl	(%r13), %edi
	callq	_bt_hex_nibble
	jmp	LBB0_41
LBB0_40:
	movq	%r13, %rdi
	callq	_bt_hex_byte
LBB0_41:
	testl	%eax, %eax
	js	LBB0_43
## %bb.42:
	movq	(%r12), %rcx
	movl	%eax, (%rcx)
	movl	$1, %r14d
	jmp	LBB0_43
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bt_aton                        ; -- Begin function bt_aton
	.p2align	2
_bt_aton:                               ; @bt_aton
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	x0, x20
	mov	w1, #58
	bl	_strchr
	mov	x21, x0
	mov	w0, #0
	ldrb	w8, [x20]
	cmp	w8, #0
	ccmp	x21, #0, #4, ne
	b.eq	LBB0_34
; %bb.1:
	sub	x9, x21, x20
	cmp	x9, #2
	b.eq	LBB0_4
; %bb.2:
	cmp	x9, #1
	b.ne	LBB0_33
; %bb.3:
	sxtb	w0, w8
	bl	_bt_hex_nibble
	tbz	w0, #31, LBB0_5
	b	LBB0_33
LBB0_4:
	mov	x0, x20
	bl	_bt_hex_byte
	tbnz	w0, #31, LBB0_33
LBB0_5:
	ldr	x8, [x19]
	str	w0, [x8, #20]
	add	x22, x21, #1
	mov	x0, x22
	mov	w1, #58
	bl	_strchr
	mov	x20, x0
	mov	w0, #0
	ldrb	w8, [x21, #1]
	cbz	w8, LBB0_34
; %bb.6:
	cbz	x20, LBB0_34
; %bb.7:
	sub	x9, x20, x22
	cmp	x9, #1
	b.eq	LBB0_10
; %bb.8:
	cmp	x9, #2
	b.ne	LBB0_33
; %bb.9:
	mov	x0, x22
	bl	_bt_hex_byte
	tbz	w0, #31, LBB0_11
	b	LBB0_33
LBB0_10:
	sxtb	w0, w8
	bl	_bt_hex_nibble
	tbnz	w0, #31, LBB0_33
LBB0_11:
	ldr	x8, [x19]
	str	w0, [x8, #16]
	add	x22, x20, #1
	mov	x0, x22
	mov	w1, #58
	bl	_strchr
	mov	x21, x0
	mov	w0, #0
	ldrb	w8, [x20, #1]
	cbz	w8, LBB0_34
; %bb.12:
	cbz	x21, LBB0_34
; %bb.13:
	sub	x9, x21, x22
	cmp	x9, #1
	b.eq	LBB0_16
; %bb.14:
	cmp	x9, #2
	b.ne	LBB0_33
; %bb.15:
	mov	x0, x22
	bl	_bt_hex_byte
	b	LBB0_17
LBB0_16:
	sxtb	w0, w8
	bl	_bt_hex_nibble
LBB0_17:
	tbnz	w0, #31, LBB0_33
; %bb.18:
	ldr	x8, [x19]
	str	w0, [x8, #12]
	add	x22, x21, #1
	mov	x0, x22
	mov	w1, #58
	bl	_strchr
	mov	x20, x0
	mov	w0, #0
	ldrb	w8, [x21, #1]
	cbz	w8, LBB0_34
; %bb.19:
	cbz	x20, LBB0_34
; %bb.20:
	sub	x9, x20, x22
	cmp	x9, #1
	b.eq	LBB0_23
; %bb.21:
	cmp	x9, #2
	b.ne	LBB0_33
; %bb.22:
	mov	x0, x22
	bl	_bt_hex_byte
	b	LBB0_24
LBB0_23:
	sxtb	w0, w8
	bl	_bt_hex_nibble
LBB0_24:
	tbnz	w0, #31, LBB0_33
; %bb.25:
	ldr	x8, [x19]
	str	w0, [x8, #8]
	add	x22, x20, #1
	mov	x0, x22
	mov	w1, #58
	bl	_strchr
	mov	x21, x0
	mov	w0, #0
	ldrb	w8, [x20, #1]
	cbz	w8, LBB0_34
; %bb.26:
	cbz	x21, LBB0_34
; %bb.27:
	sub	x9, x21, x22
	cmp	x9, #1
	b.eq	LBB0_30
; %bb.28:
	cmp	x9, #2
	b.ne	LBB0_33
; %bb.29:
	mov	x0, x22
	bl	_bt_hex_byte
	b	LBB0_31
LBB0_30:
	sxtb	w0, w8
	bl	_bt_hex_nibble
LBB0_31:
	tbnz	w0, #31, LBB0_33
; %bb.32:
	ldr	x8, [x19]
	str	w0, [x8, #4]
	add	x20, x21, #1
	mov	x0, x20
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_35
LBB0_33:
	mov	w0, #0
LBB0_34:
	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
LBB0_35:
	ldrb	w8, [x20]
	cbz	w8, LBB0_33
; %bb.36:
	mov	x0, x20
	bl	_strlen
	cmp	w0, #2
	b.eq	LBB0_39
; %bb.37:
	cmp	w0, #1
	b.ne	LBB0_33
; %bb.38:
	ldrsb	w0, [x20]
	bl	_bt_hex_nibble
	b	LBB0_40
LBB0_39:
	mov	x0, x20
	bl	_bt_hex_byte
LBB0_40:
	tbnz	w0, #31, LBB0_33
; %bb.41:
	ldr	x8, [x19]
	str	w0, [x8]
	mov	w0, #1
	b	LBB0_34
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
