	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stdbuf
_stdbuf:                                ## @stdbuf
	.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
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rdi
	callq	_getenv
	movq	%rax, %r14
	leaq	L_.str.2(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%rax, %rsi
	callq	_change_buf
LBB0_2:
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_change_buf
LBB0_4:
	testq	%r14, %r14
	je	LBB0_5
## %bb.6:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_change_buf                     ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_STDBUF_I"

L_.str.1:                               ## @.str.1
	.asciz	"_STDBUF_O"

L_.str.2:                               ## @.str.2
	.asciz	"_STDBUF_E"

	.comm	_stderr,4,2                     ## @stderr
	.comm	_stdin,4,2                      ## @stdin
	.comm	_stdout,4,2                     ## @stdout
	.section	__DATA,__mod_init_func,mod_init_funcs
	.p2align	3
	.quad	_stdbuf
	.no_dead_strip	_stdbuf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stdbuf
_stdbuf:                                ; @stdbuf
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	mov	x20, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_getenv
	mov	x19, x0
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, x0
Lloh6:
	adrp	x8, _stderr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_change_buf
LBB0_2:
	cbz	x20, LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _stdin@GOTPAGE
Lloh10:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_change_buf
LBB0_4:
	cbz	x19, LBB0_6
; %bb.5:
Lloh12:
	adrp	x8, _stdout@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_change_buf
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_STDBUF_I"

l_.str.1:                               ; @.str.1
	.asciz	"_STDBUF_O"

l_.str.2:                               ; @.str.2
	.asciz	"_STDBUF_E"

	.comm	_stderr,4,2                     ; @stderr
	.comm	_stdin,4,2                      ; @stdin
	.comm	_stdout,4,2                     ; @stdout
	.section	__DATA,__mod_init_func,mod_init_funcs
	.p2align	3
	.quad	_stdbuf
	.no_dead_strip	_stdbuf
.subsections_via_symbols
