	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_from
_set_from:                              ## @set_from
	.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, %rbx
	movq	%rdi, %r14
	testq	%rsi, %rsi
	jne	LBB0_4
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	_config@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
## %bb.3:
	movq	_username@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_4:
	movq	%rbx, %rdi
	movl	$64, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_5
## %bb.9:
	movq	%rbx, %rdi
	callq	_strdup
	movq	%rax, -32(%rbp)
	testq	%rax, %rax
	jne	LBB0_7
## %bb.10:
	xorl	%r15d, %r15d
	jmp	LBB0_12
LBB0_5:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_hostname
	movq	_config@GOTPCREL(%rip), %rcx
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.1(%rip), %rsi
	leaq	-32(%rbp), %rdi
	movq	%rbx, %rdx
	callq	_asprintf
	testq	%rax, %rax
	jle	LBB0_12
## %bb.6:
	movq	-32(%rbp), %rax
LBB0_7:
	movq	%rax, %rdi
	movl	$10, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%r15d, %r15d
	jmp	LBB0_12
LBB0_11:
	movq	-32(%rbp), %r15
	movq	%r15, (%r14)
LBB0_12:
	movq	%r15, %rax
	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	"EMAIL"

	.comm	_config,16,3                    ## @config
	.comm	_username,8,3                   ## @username
L_.str.1:                               ## @.str.1
	.asciz	"%s@%s"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_set_from
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_from
_set_from:                              ; @set_from
	.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
	mov	x20, x1
	mov	x19, x0
	cbnz	x1, LBB0_3
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	mov	x20, x0
	cbnz	x0, LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _config@GOTPAGE
Lloh3:
	ldr	x8, [x8, _config@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _username@GOTPAGE
Lloh6:
	ldr	x9, [x9, _username@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, #0
	csel	x20, x9, x8, eq
LBB0_3:
	mov	x0, x20
	mov	w1, #64
	bl	_strchr
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_strdup
	str	x0, [sp, #8]
	cbnz	x0, LBB0_7
	b	LBB0_11
LBB0_5:
	bl	_hostname
Lloh8:
	adrp	x8, _config@GOTPAGE
Lloh9:
	ldr	x8, [x8, _config@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8, #8]
	cmp	x8, #0
	csel	x3, x0, x8, eq
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	mov	x2, x20
	bl	_asprintf
	cmp	x0, #1
	b.lt	LBB0_10
; %bb.6:
	ldr	x0, [sp, #8]
LBB0_7:
	mov	w1, #10
	bl	_strchr
	cbz	x0, LBB0_9
; %bb.8:
	mov	x0, #0
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _errno@GOTPAGE
Lloh17:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh18:
	str	w8, [x9]
	b	LBB0_11
LBB0_9:
	ldr	x0, [sp, #8]
	str	x0, [x19]
	b	LBB0_11
LBB0_10:
	mov	x0, #0
LBB0_11:
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EMAIL"

	.comm	_config,16,3                    ; @config
	.comm	_username,8,3                   ; @username
l_.str.1:                               ; @.str.1
	.asciz	"%s@%s"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_set_from
.subsections_via_symbols
