	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpm_unix_resolve_socket_premissions ## -- Begin function fpm_unix_resolve_socket_premissions
	.p2align	4, 0x90
_fpm_unix_resolve_socket_premissions:   ## @fpm_unix_resolve_socket_premissions
	.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	16(%rdi), %r15
	movq	$-1, (%rdi)
	movl	$432, 8(%rdi)                   ## imm = 0x1B0
	xorl	%r14d, %r14d
	testq	%r15, %r15
	je	LBB0_15
## %bb.1:
	movq	%rdi, %rbx
	movq	40(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.2:
	cmpq	$0, (%rdi)
	je	LBB0_4
## %bb.3:
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_strtoul
	movl	%eax, 8(%rbx)
LBB0_4:
	movq	16(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.5:
	cmpb	$0, (%rdi)
	je	LBB0_10
## %bb.6:
	callq	_getpwnam
	testq	%rax, %rax
	je	LBB0_7
## %bb.9:
	movl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movl	4(%rax), %eax
	movl	%eax, 4(%rbx)
LBB0_10:
	movq	24(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.11:
	cmpb	$0, (%rdi)
	je	LBB0_15
## %bb.12:
	callq	_getgrnam
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	jmp	LBB0_15
LBB0_7:
	movq	_ZLOG_SYSERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%rbx), %rax
	movl	32(%rax), %edx
	movq	16(%r15), %rcx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_8
LBB0_13:
	movq	_ZLOG_SYSERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%rbx), %rax
	movl	32(%rax), %edx
	movq	24(%r15), %rcx
	leaq	L_.str.1(%rip), %rsi
LBB0_8:
	xorl	%eax, %eax
	callq	_zlog
	movl	$-1, %r14d
LBB0_15:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ZLOG_SYSERROR,4,2              ## @ZLOG_SYSERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[pool %s] cannot get uid for user '%s'"

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

	.comm	_ACL_GROUP,4,2                  ## @ACL_GROUP
	.comm	_ACL_READ,4,2                   ## @ACL_READ
	.comm	_ACL_USER,4,2                   ## @ACL_USER
	.comm	_ACL_WRITE,4,2                  ## @ACL_WRITE
	.comm	_ZLOG_DEBUG,4,2                 ## @ZLOG_DEBUG
	.comm	_ZLOG_WARNING,4,2               ## @ZLOG_WARNING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpm_unix_resolve_socket_premissions ; -- Begin function fpm_unix_resolve_socket_premissions
	.p2align	2
_fpm_unix_resolve_socket_premissions:   ; @fpm_unix_resolve_socket_premissions
	.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
	ldr	x20, [x0, #16]
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x0]
	mov	w8, #432
	str	w8, [x0, #8]
	cbz	x20, LBB0_12
; %bb.1:
	mov	x19, x0
	ldr	x0, [x20, #40]
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.3:
	mov	w1, #0
	mov	w2, #8
	bl	_strtoul
	str	w0, [x19, #8]
LBB0_4:
	ldr	x0, [x20, #16]
	cbz	x0, LBB0_8
; %bb.5:
	ldrb	w8, [x0]
	cbz	w8, LBB0_8
; %bb.6:
	bl	_getpwnam
	cbz	x0, LBB0_13
; %bb.7:
	ldr	d0, [x0]
	str	d0, [x19]
LBB0_8:
	ldr	x0, [x20, #24]
	cbz	x0, LBB0_16
; %bb.9:
	ldrb	w8, [x0]
	cbz	w8, LBB0_12
; %bb.10:
	bl	_getgrnam
	cbz	x0, LBB0_14
; %bb.11:
	mov	x8, x0
	mov	w0, #0
	ldr	w8, [x8]
	str	w8, [x19, #4]
	b	LBB0_16
LBB0_12:
	mov	w0, #0
	b	LBB0_16
LBB0_13:
Lloh0:
	adrp	x8, _ZLOG_SYSERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZLOG_SYSERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x19, #16]
	ldr	w2, [x8, #32]
	ldr	x8, [x20, #16]
	str	x8, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_15
LBB0_14:
Lloh5:
	adrp	x8, _ZLOG_SYSERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ZLOG_SYSERROR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	x8, [x19, #16]
	ldr	w2, [x8, #32]
	ldr	x8, [x20, #24]
	str	x8, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_15:
	bl	_zlog
	mov	w0, #-1
LBB0_16:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ZLOG_SYSERROR,4,2              ; @ZLOG_SYSERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[pool %s] cannot get uid for user '%s'"

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

	.comm	_ACL_GROUP,4,2                  ; @ACL_GROUP
	.comm	_ACL_READ,4,2                   ; @ACL_READ
	.comm	_ACL_USER,4,2                   ; @ACL_USER
	.comm	_ACL_WRITE,4,2                  ; @ACL_WRITE
	.comm	_ZLOG_DEBUG,4,2                 ; @ZLOG_DEBUG
	.comm	_ZLOG_WARNING,4,2               ; @ZLOG_WARNING
.subsections_via_symbols
