	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpm_sockets_domain_from_address ## -- Begin function fpm_sockets_domain_from_address
	.p2align	4, 0x90
_fpm_sockets_domain_from_address:       ## @fpm_sockets_domain_from_address
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rax, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strspn
	cmpq	%rax, %r14
	jne	LBB0_2
LBB0_3:
	movq	_FPM_AF_INET@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_FPM_AF_UNIX@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FPM_AF_INET,4,2                ## @FPM_AF_INET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0123456789"

	.comm	_FPM_AF_UNIX,4,2                ## @FPM_AF_UNIX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpm_sockets_domain_from_address ; -- Begin function fpm_sockets_domain_from_address
	.p2align	2
_fpm_sockets_domain_from_address:       ; @fpm_sockets_domain_from_address
	.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, x0
	mov	w1, #58
	bl	_strchr
Lloh0:
	adrp	x21, _FPM_AF_INET@GOTPAGE
Lloh1:
	ldr	x21, [x21, _FPM_AF_INET@GOTPAGEOFF]
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_strlen
	mov	x20, x0
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strspn
Lloh4:
	adrp	x8, _FPM_AF_UNIX@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FPM_AF_UNIX@GOTPAGEOFF]
	cmp	x20, x0
	csel	x21, x21, x8, eq
LBB0_2:
	ldr	w0, [x21]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_FPM_AF_INET,4,2                ; @FPM_AF_INET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0123456789"

	.comm	_FPM_AF_UNIX,4,2                ; @FPM_AF_UNIX
.subsections_via_symbols
