	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_xfer_size
_get_xfer_size:                         ## @get_xfer_size
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movl	$-1, (%rax)
	movq	_errno@GOTPCREL(%rip), %r12
	movq	$0, (%r12)
	testl	%esi, %esi
	js	LBB0_2
## %bb.1:
	movl	%esi, %ebx
	movq	__PC_REC_INCR_XFER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_fpathconf
	movq	(%r15), %rcx
	movq	%rax, 24(%rcx)
	movq	__PC_REC_MAX_XFER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_fpathconf
	movq	(%r15), %rcx
	movq	%rax, 16(%rcx)
	movq	__PC_REC_MIN_XFER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_fpathconf
	movq	(%r15), %rcx
	movq	%rax, 8(%rcx)
	movq	__PC_REC_XFER_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_fpathconf
	jmp	LBB0_5
LBB0_2:
	movq	%rdx, %r14
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.4:
	movq	__PC_REC_INCR_XFER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_pathconf
	movq	(%r15), %rcx
	movq	%rax, 24(%rcx)
	movq	__PC_REC_MAX_XFER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_pathconf
	movq	(%r15), %rcx
	movq	%rax, 16(%rcx)
	movq	__PC_REC_MIN_XFER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_pathconf
	movq	(%r15), %rcx
	movq	%rax, 8(%rcx)
	movq	__PC_REC_XFER_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_pathconf
LBB0_5:
	movq	%rax, %rcx
	movq	(%r15), %rax
	movl	%ecx, (%rax)
	movq	(%r12), %rax
	movq	_EINVAL@GOTPCREL(%rip), %rsi
	xorl	%edx, %edx
	cmpq	(%rsi), %rax
	sete	%bl
	xorl	%eax, %eax
	cmpl	$-1, %ecx
	jne	LBB0_7
## %bb.6:
	movb	%bl, %dl
	leal	(%rdx,%rdx), %eax
	decl	%eax
	jmp	LBB0_7
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	(%rcx), %rax
	sbbl	%eax, %eax
	orl	$1, %eax
LBB0_7:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	__PC_REC_INCR_XFER_SIZE,4,2     ## @_PC_REC_INCR_XFER_SIZE
	.comm	__PC_REC_MAX_XFER_SIZE,4,2      ## @_PC_REC_MAX_XFER_SIZE
	.comm	__PC_REC_MIN_XFER_SIZE,4,2      ## @_PC_REC_MIN_XFER_SIZE
	.comm	__PC_REC_XFER_ALIGN,4,2         ## @_PC_REC_XFER_ALIGN
	.comm	_EINVAL,8,3                     ## @EINVAL
	.no_dead_strip	_get_xfer_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_xfer_size
_get_xfer_size:                         ; @get_xfer_size
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	x8, [x0]
	mov	w9, #-1
	str	w9, [x8]
Lloh0:
	adrp	x22, _errno@GOTPAGE
Lloh1:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
	str	xzr, [x22]
	tbnz	w1, #31, LBB0_2
; %bb.1:
	mov	x21, x1
Lloh2:
	adrp	x8, __PC_REC_INCR_XFER_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, __PC_REC_INCR_XFER_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_fpathconf
	ldr	x8, [x19]
	str	x0, [x8, #24]
Lloh5:
	adrp	x8, __PC_REC_MAX_XFER_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, __PC_REC_MAX_XFER_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_fpathconf
	ldr	x8, [x19]
	str	x0, [x8, #16]
Lloh8:
	adrp	x8, __PC_REC_MIN_XFER_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, __PC_REC_MIN_XFER_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_fpathconf
	ldr	x8, [x19]
	str	x0, [x8, #8]
Lloh11:
	adrp	x8, __PC_REC_XFER_ALIGN@GOTPAGE
Lloh12:
	ldr	x8, [x8, __PC_REC_XFER_ALIGN@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_fpathconf
	b	LBB0_4
LBB0_2:
	mov	x20, x2
	cbz	x2, LBB0_6
; %bb.3:
Lloh14:
	adrp	x8, __PC_REC_INCR_XFER_SIZE@GOTPAGE
Lloh15:
	ldr	x8, [x8, __PC_REC_INCR_XFER_SIZE@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_pathconf
	ldr	x8, [x19]
	str	x0, [x8, #24]
Lloh17:
	adrp	x8, __PC_REC_MAX_XFER_SIZE@GOTPAGE
Lloh18:
	ldr	x8, [x8, __PC_REC_MAX_XFER_SIZE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_pathconf
	ldr	x8, [x19]
	str	x0, [x8, #16]
Lloh20:
	adrp	x8, __PC_REC_MIN_XFER_SIZE@GOTPAGE
Lloh21:
	ldr	x8, [x8, __PC_REC_MIN_XFER_SIZE@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_pathconf
	ldr	x8, [x19]
	str	x0, [x8, #8]
Lloh23:
	adrp	x8, __PC_REC_XFER_ALIGN@GOTPAGE
Lloh24:
	ldr	x8, [x8, __PC_REC_XFER_ALIGN@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_pathconf
LBB0_4:
	ldr	x8, [x19]
	str	w0, [x8]
Lloh26:
	adrp	x8, _EINVAL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	ldr	x9, [x22]
Lloh28:
	ldr	x8, [x8]
	cmp	x9, x8
	mov	w8, #1
	cneg	w8, w8, ne
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.5:
	mov	w8, #0
	b	LBB0_7
LBB0_6:
Lloh29:
	adrp	x8, _EINVAL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	cmp	x8, #0
	mov	w8, #1
	cneg	w8, w8, ne
LBB0_7:
	mov	x0, x8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	__PC_REC_INCR_XFER_SIZE,4,2     ; @_PC_REC_INCR_XFER_SIZE
	.comm	__PC_REC_MAX_XFER_SIZE,4,2      ; @_PC_REC_MAX_XFER_SIZE
	.comm	__PC_REC_MIN_XFER_SIZE,4,2      ; @_PC_REC_MIN_XFER_SIZE
	.comm	__PC_REC_XFER_ALIGN,4,2         ; @_PC_REC_XFER_ALIGN
	.comm	_EINVAL,8,3                     ; @EINVAL
	.no_dead_strip	_get_xfer_size
.subsections_via_symbols
