	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_encode_attrib                  ## -- Begin function encode_attrib
	.p2align	4, 0x90
_encode_attrib:                         ## @encode_attrib
	.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, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %esi
	callq	_sshbuf_put_u32
	testl	%eax, %eax
	je	LBB0_1
LBB0_15:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movl	(%rbx), %eax
	movq	_SSH2_FILEXFER_ATTR_SIZE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.2:
	movl	24(%rbx), %esi
	movq	%r14, %rdi
	callq	_sshbuf_put_u64
	testl	%eax, %eax
	jne	LBB0_15
## %bb.3:
	movl	(%rbx), %eax
LBB0_4:
	movq	_SSH2_FILEXFER_ATTR_UIDGID@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.5:
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	callq	_sshbuf_put_u32
	testl	%eax, %eax
	jne	LBB0_15
## %bb.6:
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	callq	_sshbuf_put_u32
	testl	%eax, %eax
	jne	LBB0_15
## %bb.7:
	movl	(%rbx), %eax
LBB0_8:
	movq	_SSH2_FILEXFER_ATTR_PERMISSIONS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.9:
	movl	12(%rbx), %esi
	movq	%r14, %rdi
	callq	_sshbuf_put_u32
	testl	%eax, %eax
	jne	LBB0_15
## %bb.10:
	movl	(%rbx), %eax
LBB0_11:
	movq	_SSH2_FILEXFER_ATTR_ACMODTIME@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.12:
	movl	16(%rbx), %esi
	movq	%r14, %rdi
	callq	_sshbuf_put_u32
	testl	%eax, %eax
	jne	LBB0_15
## %bb.13:
	movl	20(%rbx), %esi
	movq	%r14, %rdi
	callq	_sshbuf_put_u32
	testl	%eax, %eax
	jne	LBB0_15
LBB0_14:
	xorl	%eax, %eax
	jmp	LBB0_15
	.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	_encode_attrib                  ; -- Begin function encode_attrib
	.p2align	2
_encode_attrib:                         ; @encode_attrib
	.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	x20, x1
	mov	x19, x0
	ldr	w1, [x1]
	bl	_sshbuf_put_u32
	cbz	w0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	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_5
; %bb.3:
	ldr	w1, [x20, #24]
	mov	x0, x19
	bl	_sshbuf_put_u64
	cbnz	w0, LBB0_1
; %bb.4:
	ldr	w8, [x20]
LBB0_5:
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_9
; %bb.6:
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_sshbuf_put_u32
	cbnz	w0, LBB0_1
; %bb.7:
	ldr	w1, [x20, #8]
	mov	x0, x19
	bl	_sshbuf_put_u32
	cbnz	w0, LBB0_1
; %bb.8:
	ldr	w8, [x20]
LBB0_9:
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_12
; %bb.10:
	ldr	w1, [x20, #12]
	mov	x0, x19
	bl	_sshbuf_put_u32
	cbnz	w0, LBB0_1
; %bb.11:
	ldr	w8, [x20]
LBB0_12:
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_15
; %bb.13:
	ldr	w1, [x20, #16]
	mov	x0, x19
	bl	_sshbuf_put_u32
	cbnz	w0, LBB0_1
; %bb.14:
	ldr	w1, [x20, #20]
	mov	x0, x19
	bl	_sshbuf_put_u32
	cbnz	w0, LBB0_1
LBB0_15:
	mov	w0, #0
	b	LBB0_1
	.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
