	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_struct
_write_struct:                          ## @write_struct
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movl	$63, %edi
	callq	_umask
	movl	%eax, %r12d
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_fopen
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	xorl	%edi, %edi
	callq	_close
	movl	$1, %edi
	callq	_close
	movl	$2, %edi
	callq	_close
	movl	$3, %edi
	callq	_close
	movl	$4, %edi
	callq	_close
	movl	$5, %edi
	callq	_close
	movl	$6, %edi
	callq	_close
	movl	$7, %edi
	callq	_close
	movl	$8, %edi
	callq	_close
	movl	$9, %edi
	callq	_close
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_fopen
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movl	%r12d, %edi
	callq	_umask
	movq	_XDR_ENCODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %r12
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_xdrstdio_create
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	*%rbx
	movq	_FALSE@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_5
## %bb.4:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_syslog
	movq	%r14, %rdi
	callq	_fclose
	jmp	LBB0_6
LBB0_5:
	leaq	-44(%rbp), %rdi
	callq	_XDR_DESTROY
	movq	%r14, %rdi
	callq	_fclose
	movq	_TRUE@GOTPCREL(%rip), %rbx
	jmp	LBB0_6
LBB0_2:
	movq	_LOG_ERR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_syslog
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	movq	_FALSE@GOTPCREL(%rip), %rbx
LBB0_6:
	movq	(%rbx), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"w"

	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.1:                               ## @.str.1
	.asciz	"cannot open file = %s for writing"

L_.str.2:                               ## @.str.2
	.asciz	"cannot save any registration"

	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_XDR_ENCODE,4,2                 ## @XDR_ENCODE
L_.str.3:                               ## @.str.3
	.asciz	"rpcbind: xdr_%s: failed"

	.comm	_TRUE,8,3                       ## @TRUE
	.no_dead_strip	_write_struct
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_struct
_write_struct:                          ; @write_struct
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	w0, #63
	bl	_umask
	mov	x22, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_fopen
	mov	x23, x0
	cbnz	x0, LBB0_2
; %bb.1:
	bl	_close
	mov	w0, #1
	bl	_close
	mov	w0, #2
	bl	_close
	mov	w0, #3
	bl	_close
	mov	w0, #4
	bl	_close
	mov	w0, #5
	bl	_close
	mov	w0, #6
	bl	_close
	mov	w0, #7
	bl	_close
	mov	w0, #8
	bl	_close
	mov	w0, #9
	bl	_close
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_fopen
	mov	x23, x0
	cbz	x0, LBB0_5
LBB0_2:
	mov	x0, x22
	bl	_umask
Lloh4:
	adrp	x8, _XDR_ENCODE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _XDR_ENCODE@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	add	x0, sp, #12
	mov	x1, x23
	bl	_xdrstdio_create
	add	x0, sp, #12
	mov	x1, x21
	blr	x20
Lloh7:
	adrp	x8, _FALSE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
Lloh10:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	str	x19, [sp]
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_syslog
	mov	x0, x23
	bl	_fclose
	b	LBB0_6
LBB0_4:
	add	x0, sp, #12
	bl	_XDR_DESTROY
	mov	x0, x23
	bl	_fclose
Lloh15:
	adrp	x8, _TRUE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh17:
	adrp	x20, _LOG_ERR@GOTPAGE
Lloh18:
	ldr	x20, [x20, _LOG_ERR@GOTPAGEOFF]
	ldr	w0, [x20]
	str	x19, [sp]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_syslog
	ldr	w0, [x20]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_syslog
LBB0_6:
Lloh23:
	adrp	x8, _FALSE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_7:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"w"

	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.1:                               ; @.str.1
	.asciz	"cannot open file = %s for writing"

l_.str.2:                               ; @.str.2
	.asciz	"cannot save any registration"

	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_XDR_ENCODE,4,2                 ; @XDR_ENCODE
l_.str.3:                               ; @.str.3
	.asciz	"rpcbind: xdr_%s: failed"

	.comm	_TRUE,8,3                       ; @TRUE
	.no_dead_strip	_write_struct
.subsections_via_symbols
