	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fpm_unix_conf_wp
_fpm_unix_conf_wp:                      ## @fpm_unix_conf_wp
	.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	%rdi, %r14
	xorl	%eax, %eax
	callq	_geteuid
	movq	32(%r14), %rcx
	movq	24(%rcx), %rbx
	testl	%eax, %eax
	je	LBB0_14
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.2:
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.3:
	movq	_ZLOG_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rcx), %edx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_zlog
	movq	32(%r14), %rcx
LBB0_4:
	movq	16(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.6:
	movq	_ZLOG_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rcx), %edx
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_zlog
	movq	32(%r14), %rcx
LBB0_7:
	movq	8(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.9:
	movq	_ZLOG_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rcx), %edx
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_zlog
	movq	32(%r14), %rcx
LBB0_10:
	cmpl	$64, (%rcx)
	je	LBB0_12
## %bb.11:
	movq	_ZLOG_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rcx), %edx
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_zlog
LBB0_12:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_getuid
	movl	%eax, %edi
	callq	_getpwuid
	testq	%rax, %rax
	je	LBB0_35
## %bb.13:
	movq	%rax, %rbx
	movl	20(%rax), %edi
	callq	_strdup
	movq	%rax, 24(%r14)
	movl	16(%rbx), %edi
	callq	_strdup
	movq	%rax, 16(%r14)
	jmp	LBB0_35
LBB0_14:
	testq	%rbx, %rbx
	je	LBB0_20
## %bb.15:
	cmpq	$0, (%rbx)
	je	LBB0_20
## %bb.16:
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rax, %r15
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strspn
	movq	32(%r14), %rcx
	movq	24(%rcx), %rdi
	cmpq	%rax, %r15
	jne	LBB0_18
## %bb.17:
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtoul
	movq	%rax, (%r14)
	jmp	LBB0_20
LBB0_18:
	callq	_getpwnam
	testq	%rax, %rax
	je	LBB0_31
## %bb.19:
	movq	%rax, %rbx
	movups	(%rax), %xmm0
	movups	%xmm0, (%r14)
	movl	20(%rax), %edi
	callq	_strdup
	movq	%rax, 24(%r14)
	movl	16(%rbx), %edi
	callq	_strdup
	movq	%rax, 16(%r14)
LBB0_20:
	movq	32(%r14), %rax
	movq	16(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_27
## %bb.21:
	cmpq	$0, (%rbx)
	je	LBB0_27
## %bb.22:
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rax, %r15
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strspn
	movq	32(%r14), %rcx
	movq	16(%rcx), %rdi
	cmpq	%rax, %r15
	jne	LBB0_24
## %bb.23:
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtoul
	jmp	LBB0_26
LBB0_24:
	callq	_getgrnam
	testq	%rax, %rax
	je	LBB0_32
## %bb.25:
	movq	(%rax), %rax
LBB0_26:
	movq	%rax, 8(%r14)
LBB0_27:
	movq	_fpm_globals@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	cmpl	$0, (%rax)
	jne	LBB0_35
## %bb.28:
	cmpq	$0, (%r14)
	je	LBB0_30
## %bb.29:
	cmpq	$0, 8(%r14)
	jne	LBB0_35
LBB0_30:
	movq	_ZLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	32(%r14), %rax
	movl	4(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_zlog
	jmp	LBB0_34
LBB0_31:
	movq	_ZLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	32(%r14), %rax
	movl	4(%rax), %edx
	movq	24(%rax), %rcx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_33
LBB0_32:
	movq	_ZLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	32(%r14), %rax
	movl	4(%rax), %edx
	movq	16(%rax), %rcx
	leaq	L_.str.2(%rip), %rsi
LBB0_33:
	xorl	%eax, %eax
	callq	_zlog
LBB0_34:
	movl	$-1, %r15d
LBB0_35:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0123456789"

	.comm	_ZLOG_ERROR,4,2                 ## @ZLOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"[pool %s] cannot get uid for user '%s'"

L_.str.2:                               ## @.str.2
	.asciz	"[pool %s] cannot get gid for group '%s'"

	.comm	_fpm_globals,4,2                ## @fpm_globals
L_.str.3:                               ## @.str.3
	.asciz	"[pool %s] please specify user and group other than root"

	.comm	_ZLOG_NOTICE,4,2                ## @ZLOG_NOTICE
L_.str.4:                               ## @.str.4
	.asciz	"[pool %s] 'user' directive is ignored when FPM is not running as root"

L_.str.5:                               ## @.str.5
	.asciz	"[pool %s] 'group' directive is ignored when FPM is not running as root"

L_.str.6:                               ## @.str.6
	.asciz	"[pool %s] 'chroot' directive is ignored when FPM is not running as root"

L_.str.7:                               ## @.str.7
	.asciz	"[pool %s] 'process.priority' directive is ignored when FPM is not running as root"

	.no_dead_strip	_fpm_unix_conf_wp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fpm_unix_conf_wp
_fpm_unix_conf_wp:                      ; @fpm_unix_conf_wp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	bl	_geteuid
	ldr	x8, [x19, #32]
	ldr	x20, [x8, #24]
	cbz	w0, LBB0_14
; %bb.1:
	cbz	x20, LBB0_4
; %bb.2:
	ldr	x9, [x20]
	cbz	x9, LBB0_4
; %bb.3:
Lloh0:
	adrp	x9, _ZLOG_NOTICE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ZLOG_NOTICE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	ldr	w2, [x8, #4]
Lloh3:
	adrp	x1, l_.str.4@PAGE
Lloh4:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_zlog
	ldr	x8, [x19, #32]
LBB0_4:
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_7
; %bb.5:
	ldr	x9, [x9]
	cbz	x9, LBB0_7
; %bb.6:
Lloh5:
	adrp	x9, _ZLOG_NOTICE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ZLOG_NOTICE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x9]
	ldr	w2, [x8, #4]
Lloh8:
	adrp	x1, l_.str.5@PAGE
Lloh9:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_zlog
	ldr	x8, [x19, #32]
LBB0_7:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_10
; %bb.8:
	ldr	x9, [x9]
	cbz	x9, LBB0_10
; %bb.9:
Lloh10:
	adrp	x9, _ZLOG_NOTICE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ZLOG_NOTICE@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x9]
	ldr	w2, [x8, #4]
Lloh13:
	adrp	x1, l_.str.6@PAGE
Lloh14:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_zlog
	ldr	x8, [x19, #32]
LBB0_10:
	ldr	w9, [x8]
	cmp	w9, #64
	b.eq	LBB0_12
; %bb.11:
Lloh15:
	adrp	x9, _ZLOG_NOTICE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ZLOG_NOTICE@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x9]
	ldr	w2, [x8, #4]
Lloh18:
	adrp	x1, l_.str.7@PAGE
Lloh19:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_zlog
LBB0_12:
	bl	_getuid
	bl	_getpwuid
	cbz	x0, LBB0_35
; %bb.13:
	mov	x20, x0
	ldr	w0, [x0, #20]
	bl	_strdup
	str	x0, [x19, #24]
	ldr	w0, [x20, #16]
	bl	_strdup
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19, #16]
	b	LBB0_35
LBB0_14:
	cbz	x20, LBB0_20
; %bb.15:
	ldr	x8, [x20]
	cbz	x8, LBB0_20
; %bb.16:
	mov	x0, x20
	bl	_strlen
	mov	x21, x0
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strspn
	mov	x8, x0
	ldr	x9, [x19, #32]
	ldr	x0, [x9, #24]
	cmp	x21, x8
	b.ne	LBB0_18
; %bb.17:
	mov	w1, #0
	mov	w2, #10
	bl	_strtoul
	str	x0, [x19]
	b	LBB0_20
LBB0_18:
	bl	_getpwnam
	cbz	x0, LBB0_32
; %bb.19:
	mov	x20, x0
	ldr	q0, [x0]
	str	q0, [x19]
	ldr	w0, [x0, #20]
	bl	_strdup
	str	x0, [x19, #24]
	ldr	w0, [x20, #16]
	bl	_strdup
	str	x0, [x19, #16]
LBB0_20:
	ldr	x8, [x19, #32]
	ldr	x20, [x8, #16]
	cbz	x20, LBB0_27
; %bb.21:
	ldr	x8, [x20]
	cbz	x8, LBB0_27
; %bb.22:
	mov	x0, x20
	bl	_strlen
	mov	x21, x0
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strspn
	mov	x8, x0
	ldr	x9, [x19, #32]
	ldr	x0, [x9, #16]
	cmp	x21, x8
	b.ne	LBB0_24
; %bb.23:
	mov	w1, #0
	mov	w2, #10
	bl	_strtoul
	b	LBB0_26
LBB0_24:
	bl	_getgrnam
	cbz	x0, LBB0_33
; %bb.25:
	ldr	x0, [x0]
LBB0_26:
	str	x0, [x19, #8]
LBB0_27:
Lloh24:
	adrp	x8, _fpm_globals@GOTPAGE
Lloh25:
	ldr	x8, [x8, _fpm_globals@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	cbz	w8, LBB0_29
LBB0_28:
	mov	w0, #0
	b	LBB0_35
LBB0_29:
	ldr	x8, [x19]
	cbz	x8, LBB0_31
; %bb.30:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_28
LBB0_31:
Lloh27:
	adrp	x8, _ZLOG_ERROR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ZLOG_ERROR@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	ldr	x8, [x19, #32]
	ldr	w2, [x8, #4]
Lloh30:
	adrp	x1, l_.str.3@PAGE
Lloh31:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_34
LBB0_32:
Lloh32:
	adrp	x8, _ZLOG_ERROR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ZLOG_ERROR@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	ldr	x8, [x19, #32]
	ldr	w2, [x8, #4]
	ldr	x8, [x8, #24]
	str	x8, [sp]
Lloh35:
	adrp	x1, l_.str.1@PAGE
Lloh36:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_34
LBB0_33:
Lloh37:
	adrp	x8, _ZLOG_ERROR@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ZLOG_ERROR@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	ldr	x8, [x19, #32]
	ldr	w2, [x8, #4]
	ldr	x8, [x8, #16]
	str	x8, [sp]
Lloh40:
	adrp	x1, l_.str.2@PAGE
Lloh41:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_34:
	bl	_zlog
	mov	w0, #-1
LBB0_35:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0123456789"

	.comm	_ZLOG_ERROR,4,2                 ; @ZLOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"[pool %s] cannot get uid for user '%s'"

l_.str.2:                               ; @.str.2
	.asciz	"[pool %s] cannot get gid for group '%s'"

	.comm	_fpm_globals,4,2                ; @fpm_globals
l_.str.3:                               ; @.str.3
	.asciz	"[pool %s] please specify user and group other than root"

	.comm	_ZLOG_NOTICE,4,2                ; @ZLOG_NOTICE
l_.str.4:                               ; @.str.4
	.asciz	"[pool %s] 'user' directive is ignored when FPM is not running as root"

l_.str.5:                               ; @.str.5
	.asciz	"[pool %s] 'group' directive is ignored when FPM is not running as root"

l_.str.6:                               ; @.str.6
	.asciz	"[pool %s] 'chroot' directive is ignored when FPM is not running as root"

l_.str.7:                               ; @.str.7
	.asciz	"[pool %s] 'process.priority' directive is ignored when FPM is not running as root"

	.no_dead_strip	_fpm_unix_conf_wp
.subsections_via_symbols
