	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_attrib_to_stat                 ## -- Begin function attrib_to_stat
	.p2align	4, 0x90
_attrib_to_stat:                        ## @attrib_to_stat
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	(%rbx), %eax
	movq	_SSH2_FILEXFER_ATTR_SIZE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movl	24(%rbx), %ecx
	movl	%ecx, 20(%r14)
LBB0_2:
	movq	_SSH2_FILEXFER_ATTR_UIDGID@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movl	20(%rbx), %ecx
	movl	%ecx, 16(%r14)
	movl	16(%rbx), %ecx
	movl	%ecx, 12(%r14)
LBB0_4:
	movq	_SSH2_FILEXFER_ATTR_PERMISSIONS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movl	12(%rbx), %ecx
	movl	%ecx, 8(%r14)
LBB0_6:
	movq	_SSH2_FILEXFER_ATTR_ACMODTIME@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	movl	8(%rbx), %eax
	movl	%eax, 4(%r14)
	movl	4(%rbx), %eax
	movl	%eax, (%r14)
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSH2_FILEXFER_ATTR_SIZE,4,2    ## @SSH2_FILEXFER_ATTR_SIZE
	.comm	_SSH2_FILEXFER_ATTR_UIDGID,4,2  ## @SSH2_FILEXFER_ATTR_UIDGID
	.comm	_SSH2_FILEXFER_ATTR_PERMISSIONS,4,2 ## @SSH2_FILEXFER_ATTR_PERMISSIONS
	.comm	_SSH2_FILEXFER_ATTR_ACMODTIME,4,2 ## @SSH2_FILEXFER_ATTR_ACMODTIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_attrib_to_stat                 ; -- Begin function attrib_to_stat
	.p2align	2
_attrib_to_stat:                        ; @attrib_to_stat
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _SSH2_FILEXFER_ATTR_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SSH2_FILEXFER_ATTR_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w9, [x20, #24]
	str	w9, [x19, #20]
LBB0_2:
Lloh3:
	adrp	x9, _SSH2_FILEXFER_ATTR_UIDGID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SSH2_FILEXFER_ATTR_UIDGID@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	d0, [x20, #16]
	stur	d0, [x19, #12]
LBB0_4:
Lloh6:
	adrp	x9, _SSH2_FILEXFER_ATTR_PERMISSIONS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SSH2_FILEXFER_ATTR_PERMISSIONS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	ldr	w9, [x20, #12]
	str	w9, [x19, #8]
LBB0_6:
Lloh9:
	adrp	x9, _SSH2_FILEXFER_ATTR_ACMODTIME@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SSH2_FILEXFER_ATTR_ACMODTIME@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	ldur	d0, [x20, #4]
	str	d0, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SSH2_FILEXFER_ATTR_SIZE,4,2    ; @SSH2_FILEXFER_ATTR_SIZE
	.comm	_SSH2_FILEXFER_ATTR_UIDGID,4,2  ; @SSH2_FILEXFER_ATTR_UIDGID
	.comm	_SSH2_FILEXFER_ATTR_PERMISSIONS,4,2 ; @SSH2_FILEXFER_ATTR_PERMISSIONS
	.comm	_SSH2_FILEXFER_ATTR_ACMODTIME,4,2 ; @SSH2_FILEXFER_ATTR_ACMODTIME
.subsections_via_symbols
