	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_mailname_host
_add_mailname_host:                     ## @add_mailname_host
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen_or_warn
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	leaq	-24(%rbp), %rdi
	movq	%rax, %rsi
	callq	_strbuf_getline
	movq	_EOF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_ferror
	movl	$-1, %r14d
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
	callq	_warning_errno
	jmp	LBB0_6
LBB0_1:
	movl	$-1, %r14d
	jmp	LBB0_7
LBB0_5:
	leaq	-24(%rbp), %rsi
	movq	%r14, %rdi
	callq	_strbuf_addbuf
	xorl	%r14d, %r14d
LBB0_6:
	leaq	-24(%rbp), %rdi
	callq	_strbuf_release
	movq	%rbx, %rdi
	callq	_fclose
LBB0_7:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/etc/mailname"

L_.str.1:                               ## @.str.1
	.asciz	"r"

	.comm	_EOF,8,3                        ## @EOF
L_.str.2:                               ## @.str.2
	.asciz	"cannot read /etc/mailname"

	.no_dead_strip	_add_mailname_host
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_mailname_host
_add_mailname_host:                     ; @add_mailname_host
	.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, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fopen_or_warn
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	add	x0, sp, #8
	mov	x1, x19
	bl	_strbuf_getline
Lloh7:
	adrp	x8, _EOF@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EOF@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.2:
	mov	x0, x19
	bl	_ferror
	cbz	x0, LBB0_4
; %bb.3:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warning_errno
LBB0_4:
	mov	w20, #-1
	b	LBB0_7
LBB0_5:
	mov	w20, #-1
	b	LBB0_8
LBB0_6:
	add	x1, sp, #8
	mov	x0, x20
	bl	_strbuf_addbuf
	mov	w20, #0
LBB0_7:
	add	x0, sp, #8
	bl	_strbuf_release
	mov	x0, x19
	bl	_fclose
LBB0_8:
	mov	x0, x20
	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	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/etc/mailname"

l_.str.1:                               ; @.str.1
	.asciz	"r"

	.comm	_EOF,8,3                        ; @EOF
l_.str.2:                               ; @.str.2
	.asciz	"cannot read /etc/mailname"

	.no_dead_strip	_add_mailname_host
.subsections_via_symbols
