	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_login_getcapstr                ## -- Begin function login_getcapstr
	.p2align	4, 0x90
_login_getcapstr:                       ## @login_getcapstr
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.2:
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.3:
	cmpb	$0, (%rsi)
	je	LBB0_8
## %bb.4:
	movq	%rcx, %r14
	leaq	-24(%rbp), %rdx
	callq	_cgetstr
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.5:
	testl	%eax, %eax
	js	LBB0_7
## %bb.6:
	movq	-24(%rbp), %r14
LBB0_7:
	movq	%r14, %rbx
LBB0_8:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_login_getcapstr                ; -- Begin function login_getcapstr
	.p2align	2
_login_getcapstr:                       ; @login_getcapstr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
	cbz	x0, LBB0_6
; %bb.1:
	cbz	x1, LBB0_6
; %bb.2:
	ldr	x0, [x0]
	cbz	x0, LBB0_6
; %bb.3:
	ldrb	w8, [x1]
	cbz	w8, LBB0_6
; %bb.4:
	mov	x20, x3
	add	x2, sp, #8
	bl	_cgetstr
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.5:
	ldr	x8, [sp, #8]
	cmp	w0, #0
	csel	x19, x20, x8, lt
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
