	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_glibc_shapass
_test_glibc_shapass:                    ## @test_glibc_shapass
	.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, %r12
	movq	_glibc_sha_pws@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rbx), %esi
	callq	_apr_password_validate
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_apr_assert_success
	movq	(%r15), %rax
	movq	24(%rax,%rbx), %rdi
	addq	$16, %rbx
	testq	%rdi, %rdi
	jne	LBB0_2
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_glibc_sha_pws,8,3              ## @glibc_sha_pws
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"check for valid glibc crypt-sha password"

	.no_dead_strip	_test_glibc_shapass
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_glibc_shapass
_test_glibc_shapass:                    ; @test_glibc_shapass
	.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, x0
Lloh0:
	adrp	x21, _glibc_sha_pws@GOTPAGE
Lloh1:
	ldr	x21, [x21, _glibc_sha_pws@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_3
; %bb.1:
	mov	x22, #0
Lloh2:
	adrp	x20, l_.str@PAGE
Lloh3:
	add	x20, x20, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x8, x22]
	bl	_apr_password_validate
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_apr_assert_success
	ldr	x8, [x21]
	add	x9, x8, x22
	ldr	x0, [x9, #24]
	add	x22, x22, #16
	cbnz	x0, LBB0_2
LBB0_3:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_glibc_sha_pws,8,3              ; @glibc_sha_pws
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"check for valid glibc crypt-sha password"

	.no_dead_strip	_test_glibc_shapass
.subsections_via_symbols
