	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function put_password_attr
_put_password_attr:                     ## @put_password_attr
	.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
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_generr
	movl	$-1, %ebx
	jmp	LBB0_3
LBB0_2:
	movq	%rcx, %r14
	movl	%esi, %r13d
	movq	_PASSSIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rcx, %rax
	cmovbq	%rax, %r14
	leal	15(%r14), %eax
	andl	$-16, %eax
	testq	%r14, %r14
	movl	$16, %ecx
	cmovnel	%eax, %ecx
	movslq	%ecx, %r15
	movl	%r15d, %r12d
	subl	%r14d, %r12d
	movq	%rbx, %rdi
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	callq	_clear_password
	movq	24(%rbx), %rdx
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%r15d, %ecx
	callq	_put_raw_attr
	movq	8(%rbx), %rax
	movq	24(%rbx), %rdi
	subq	%r15, %rax
	movq	%rax, (%rbx)
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_memcpy
	movq	%r14, 16(%rbx)
	addq	24(%rbx), %r14
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%r12d, %edx
	callq	_memset
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Multiple User-Password attributes specified"

	.comm	_PASSSIZE,8,3                   ## @PASSSIZE
	.no_dead_strip	_put_password_attr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function put_password_attr
_put_password_attr:                     ; @put_password_attr
	.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, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_generr
	mov	w0, #-1
	b	LBB0_3
LBB0_2:
	mov	x20, x2
	mov	x21, x1
Lloh2:
	adrp	x8, _PASSSIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PASSSIZE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x8, x3
	csel	x22, x8, x3, lo
	add	w8, w22, #15
	and	w8, w8, #0xfffffff0
	cmp	x22, #0
	mov	w9, #16
	csel	w23, w9, w8, eq
	sub	w24, w23, w22
	mov	x0, x19
	bl	_clear_password
	ldr	x2, [x19, #24]
	mov	x0, x19
	mov	x1, x21
	mov	x3, x23
	bl	_put_raw_attr
	ldr	x8, [x19, #8]
	sub	x8, x8, w23, sxtw
	str	x8, [x19]
	ldr	x0, [x19, #24]
	mov	x1, x20
	mov	x2, x22
	bl	_memcpy
	str	x22, [x19, #16]
	ldr	x8, [x19, #24]
	add	x0, x8, x22
	mov	w1, #0
	mov	x2, x24
	bl	_memset
	mov	w0, #0
LBB0_3:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Multiple User-Password attributes specified"

	.comm	_PASSSIZE,8,3                   ; @PASSSIZE
	.no_dead_strip	_put_password_attr
.subsections_via_symbols
