	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_ready_out
_make_ready_out:                        ## @make_ready_out
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	$5, -24(%rbp)
	movq	(%rdi), %rax
	addq	$-5, %rax
	movq	%rax, -16(%rbp)
	addq	$48, %rdi
	movq	48(%rbx), %rax
	leaq	-24(%rbp), %rsi
	leaq	-16(%rbp), %rdx
	callq	*(%rax)
	movq	-16(%rbp), %rax
	movq	-24(%rbp), %rcx
	movq	%rax, %rdx
	subq	%rcx, %rdx
	movq	8(%rbx), %rsi
	leaq	(%rsi,%rcx), %rdi
	cmpq	%rsi, %rdx
	cmovbeq	%rax, %rdi
	movq	40(%rbx), %rax
	movq	%rcx, 16(%rbx)
	movq	%rdi, 24(%rbx)
	movq	%rcx, 32(%rbx)
	movq	_BR_IO_OUT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_BR_IO_INOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%rbx)
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BR_IO_OUT,8,3                  ## @BR_IO_OUT
	.comm	_BR_IO_INOUT,8,3                ## @BR_IO_INOUT
	.no_dead_strip	_make_ready_out
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_ready_out
_make_ready_out:                        ; @make_ready_out
	.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	x19, x0
	mov	w9, #5
	ldr	x8, [x0]
	sub	x8, x8, #5
	stp	x8, x9, [sp]
	ldr	x8, [x0, #48]!
	ldr	x8, [x8]
	add	x1, sp, #8
	mov	x2, sp
	blr	x8
	ldp	x8, x9, [sp]
	ldr	x10, [x19, #8]
	add	x11, x10, x9
	sub	x12, x8, x9
	cmp	x12, x10
	csel	x8, x11, x8, hi
	stp	x9, x8, [x19, #16]
	str	x9, [x19, #32]
	ldr	x8, [x19, #40]
Lloh0:
	adrp	x9, _BR_IO_OUT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BR_IO_OUT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _BR_IO_INOUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BR_IO_INOUT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19, #40]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BR_IO_OUT,8,3                  ; @BR_IO_OUT
	.comm	_BR_IO_INOUT,8,3                ; @BR_IO_INOUT
	.no_dead_strip	_make_ready_out
.subsections_via_symbols
