	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compat_set_template
_compat_set_template:                   ## @compat_set_template
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_compat_clear_template
	movl	(%r15), %ebx
	movq	__PWF_UID@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	movl	36(%r15), %eax
	movl	%eax, 36(%r14)
LBB0_2:
	movq	__PWF_GID@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movl	32(%r15), %eax
	movl	%eax, 32(%r14)
LBB0_4:
	movq	__PWF_GECOS@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	movq	24(%r15), %rdi
	callq	_strdup
	movq	%rax, 24(%r14)
	testq	%rax, %rax
	je	LBB0_11
LBB0_6:
	movq	__PWF_DIR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:
	movq	16(%r15), %rdi
	callq	_strdup
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_11
LBB0_8:
	movq	__PWF_SHELL@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_10
## %bb.9:
	movq	8(%r15), %rdi
	callq	_strdup
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_11
LBB0_10:
	movl	%ebx, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_11:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_syslog
	movl	$-1, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__PWF_UID,4,2                   ## @_PWF_UID
	.comm	__PWF_GID,4,2                   ## @_PWF_GID
	.comm	__PWF_GECOS,4,2                 ## @_PWF_GECOS
	.comm	__PWF_DIR,4,2                   ## @_PWF_DIR
	.comm	__PWF_SHELL,4,2                 ## @_PWF_SHELL
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"getpwent memory allocation failure"

	.comm	__PWF_PASSWD,4,2                ## @_PWF_PASSWD
	.no_dead_strip	_compat_set_template
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compat_set_template
_compat_set_template:                   ; @compat_set_template
	.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
	mov	x0, x1
	bl	_compat_clear_template
	ldr	w21, [x20]
Lloh0:
	adrp	x8, __PWF_UID@GOTPAGE
Lloh1:
	ldr	x8, [x8, __PWF_UID@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x20, #36]
	str	w8, [x19, #36]
LBB0_2:
Lloh3:
	adrp	x8, __PWF_GID@GOTPAGE
Lloh4:
	ldr	x8, [x8, __PWF_GID@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x20, #32]
	str	w8, [x19, #32]
LBB0_4:
Lloh6:
	adrp	x8, __PWF_GECOS@GOTPAGE
Lloh7:
	ldr	x8, [x8, __PWF_GECOS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_6
; %bb.5:
	ldr	x0, [x20, #24]
	bl	_strdup
	str	x0, [x19, #24]
	cbz	x0, LBB0_11
LBB0_6:
Lloh9:
	adrp	x8, __PWF_DIR@GOTPAGE
Lloh10:
	ldr	x8, [x8, __PWF_DIR@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_8
; %bb.7:
	ldr	x0, [x20, #16]
	bl	_strdup
	str	x0, [x19, #16]
	cbz	x0, LBB0_11
LBB0_8:
Lloh12:
	adrp	x8, __PWF_SHELL@GOTPAGE
Lloh13:
	ldr	x8, [x8, __PWF_SHELL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_10
; %bb.9:
	ldr	x0, [x20, #8]
	bl	_strdup
	str	x0, [x19, #8]
	cbz	x0, LBB0_11
LBB0_10:
	mov	w0, #0
	str	w21, [x19]
	b	LBB0_12
LBB0_11:
Lloh15:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	bl	_syslog
	mov	w0, #-1
LBB0_12:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	__PWF_UID,4,2                   ; @_PWF_UID
	.comm	__PWF_GID,4,2                   ; @_PWF_GID
	.comm	__PWF_GECOS,4,2                 ; @_PWF_GECOS
	.comm	__PWF_DIR,4,2                   ; @_PWF_DIR
	.comm	__PWF_SHELL,4,2                 ; @_PWF_SHELL
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"getpwent memory allocation failure"

	.comm	__PWF_PASSWD,4,2                ; @_PWF_PASSWD
	.no_dead_strip	_compat_set_template
.subsections_via_symbols
