	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_q_segment
_decode_q_segment:                      ## @decode_q_segment
	.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
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	(%rdi), %rbx
	movl	$16, %edi
	callq	_xmalloc
	movq	%rax, %r15
	movl	8(%r12), %esi
	movq	%rax, %rdi
	callq	_strbuf_init
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	testb	%r12b, %r12b
	je	LBB0_8
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$95, %r12b
	movl	%r12d, %esi
	movl	$32, %eax
	cmovel	%eax, %esi
	testl	%r14d, %r14d
	cmovel	%r12d, %esi
	movq	%r15, %rdi
	callq	_strbuf_addch
	movq	%r13, %rbx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rbx), %r13
	movsbl	(%rbx), %r12d
	cmpl	$61, %r12d
	jne	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movzbl	(%r13), %eax
	testb	%al, %al
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$10, %al
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	callq	_hex2chr
	testl	%eax, %eax
	js	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_strbuf_addch
	addq	$3, %rbx
	jmp	LBB0_1
LBB0_8:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_decode_q_segment
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_q_segment
_decode_q_segment:                      ; @decode_q_segment
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x21, x0
	ldr	x22, [x0]
	mov	w0, #16
	bl	_xmalloc
	mov	x20, x0
	ldr	w1, [x21, #8]
	bl	_strbuf_init
	mov	w23, #32
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	w24, LBB0_7
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sxtb	w8, w24
	cmp	w8, #95
	ccmp	w19, #0, #4, eq
	csel	w1, w23, w8, ne
	mov	x0, x20
	bl	_strbuf_addch
	mov	x22, x21
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x21, x22
	ldrb	w24, [x21], #1
	cmp	w24, #61
	b.ne	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x21]
	cmp	w8, #0
	ccmp	w8, #10, #4, ne
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_hex2chr
	tbnz	w0, #31, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x0
	mov	x0, x20
	bl	_strbuf_addch
	add	x22, x22, #3
	b	LBB0_3
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_decode_q_segment
.subsections_via_symbols
