	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare_credentials
_prepare_credentials:                   ## @prepare_credentials
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_getpwnam
	movq	%rax, _prepare_credentials.c+8(%rip)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	testq	%r14, %r14
	je	LBB0_3
LBB0_4:
	movq	%r14, %rdi
	callq	_getgrnam
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	callq	_die
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_die
	testq	%r14, %r14
	jne	LBB0_4
LBB0_3:
	movq	_prepare_credentials.c+8(%rip), %rbx
LBB0_6:
	movl	(%rbx), %eax
	movl	%eax, _prepare_credentials.c(%rip)
	leaq	_prepare_credentials.c(%rip), %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_prepare_credentials.c,16,3 ## @prepare_credentials.c
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"user not found - %s"

L_.str.1:                               ## @.str.1
	.asciz	"group not found - %s"

	.no_dead_strip	_prepare_credentials
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepare_credentials
_prepare_credentials:                   ; @prepare_credentials
	.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
	bl	_getpwnam
	adrp	x21, _prepare_credentials.c@PAGE+8
	str	x0, [x21, _prepare_credentials.c@PAGEOFF+8]
	cbz	x0, LBB0_4
; %bb.1:
	cbz	x19, LBB0_5
LBB0_2:
	mov	x0, x19
	bl	_getgrnam
	mov	x20, x0
	cbnz	x0, LBB0_6
; %bb.3:
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_die
	b	LBB0_6
LBB0_4:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_die
	cbnz	x19, LBB0_2
LBB0_5:
	ldr	x20, [x21, _prepare_credentials.c@PAGEOFF+8]
LBB0_6:
	ldr	w8, [x20]
Lloh4:
	adrp	x0, _prepare_credentials.c@PAGE
Lloh5:
	add	x0, x0, _prepare_credentials.c@PAGEOFF
	str	w8, [x0]
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_prepare_credentials.c,16,3 ; @prepare_credentials.c
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"user not found - %s"

l_.str.1:                               ; @.str.1
	.asciz	"group not found - %s"

	.no_dead_strip	_prepare_credentials
.subsections_via_symbols
