	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_attr_value
_read_attr_value:                       ## @read_attr_value
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movsbl	%sil, %r15d
	cmpb	%sil, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_PROTOCOL_VIOLATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movsbl	(%rbx), %edi
	callq	_sanitize_char
	leaq	L_.str.1(%rip), %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_errdetail
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	cmpb	$61, 1(%rbx)
	je	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_PROTOCOL_VIOLATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	leaq	L_.str.2(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_errdetail
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_4:
	addq	$2, %rbx
	movq	%rbx, %rax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %ecx
	testb	%cl, %cl
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$44, %cl
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rax
	jmp	LBB0_5
LBB0_8:
	movb	$0, (%rax)
	incq	%rax
LBB0_9:
	movq	%rax, (%r14)
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_PROTOCOL_VIOLATION,4,2 ## @ERRCODE_PROTOCOL_VIOLATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malformed SCRAM message"

L_.str.1:                               ## @.str.1
	.asciz	"Expected attribute \"%c\" but found \"%s\"."

L_.str.2:                               ## @.str.2
	.asciz	"Expected character \"=\" for attribute \"%c\"."

	.no_dead_strip	_read_attr_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_attr_value
_read_attr_value:                       ; @read_attr_value
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	mov	x19, x0
	ldr	x22, [x0]
	ldrb	w8, [x22]
	cmp	w8, w1, uxtb
Lloh0:
	adrp	x23, _ERROR@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ERROR@GOTPAGEOFF]
Lloh2:
	adrp	x24, _ERRCODE_PROTOCOL_VIOLATION@GOTPAGE
Lloh3:
	ldr	x24, [x24, _ERRCODE_PROTOCOL_VIOLATION@GOTPAGEOFF]
	b.eq	LBB0_2
; %bb.1:
	ldr	w21, [x23]
	ldr	w0, [x24]
	bl	_errcode
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	ldrsb	w0, [x22]
	bl	_sanitize_char
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_errdetail
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_2:
	ldrb	w8, [x22, #1]
	cmp	w8, #61
	b.eq	LBB0_4
; %bb.3:
	ldr	w21, [x23]
	ldr	w0, [x24]
	bl	_errcode
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_errdetail
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_4:
	add	x0, x22, #2
	mov	x8, x0
	ldrb	w9, [x8]
	cbz	w9, LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, #44
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x8, #1
	ldrb	w9, [x8]
	cbnz	w9, LBB0_5
	b	LBB0_8
LBB0_7:
	strb	wzr, [x8], #1
LBB0_8:
	str	x8, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_PROTOCOL_VIOLATION,4,2 ; @ERRCODE_PROTOCOL_VIOLATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malformed SCRAM message"

l_.str.1:                               ; @.str.1
	.asciz	"Expected attribute \"%c\" but found \"%s\"."

l_.str.2:                               ; @.str.2
	.asciz	"Expected character \"=\" for attribute \"%c\"."

	.no_dead_strip	_read_attr_value
.subsections_via_symbols
