	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_doprintenv                     ## -- Begin function doprintenv
	.p2align	4, 0x90
_doprintenv:                            ## @doprintenv
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_USE
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.7:
	callq	_tgetenv
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	%rax, %rbx
	movq	_output_raw@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, -36(%rbp)
	movl	$1, (%rax)
	movq	_output_raw_restore@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %r14
	movq	%r14, %rdi
	callq	_cleanup_push
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_xprintf
	movq	%r14, %rdi
	jmp	LBB0_9
LBB0_1:
	movq	_xlate_cr@GOTPCREL(%rip), %rdi
	movl	$1, (%rdi)
	movq	_xlate_cr_cleanup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_cleanup_push
	movq	_STR_environ@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.2:
	addq	$8, %rbx
	movq	_setintr@GOTPCREL(%rip), %r12
	leaq	L_.str(%rip), %r14
	leaq	-40(%rbp), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_xprintf
	movq	(%rbx), %rsi
	addq	$8, %rbx
	testq	%rsi, %rsi
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%r12)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_pintr_push_enable
	movq	%r15, %rdi
	callq	_cleanup_until
	movq	-8(%rbx), %rsi
	jmp	LBB0_5
LBB0_6:
	movq	_xlate_cr@GOTPCREL(%rip), %rdi
LBB0_9:
	callq	_cleanup_until
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_STRstatus@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_STR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VAR_READWRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_setcopy                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_xlate_cr,4,2                   ## @xlate_cr
	.comm	_xlate_cr_cleanup,4,2           ## @xlate_cr_cleanup
	.comm	_STR_environ,8,3                ## @STR_environ
	.comm	_setintr,8,3                    ## @setintr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%S\n"

	.comm	_output_raw,4,2                 ## @output_raw
	.comm	_output_raw_restore,4,2         ## @output_raw_restore
	.comm	_STRstatus,4,2                  ## @STRstatus
	.comm	_STR1,4,2                       ## @STR1
	.comm	_VAR_READWRITE,4,2              ## @VAR_READWRITE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_doprintenv                     ; -- Begin function doprintenv
	.p2align	2
_doprintenv:                            ; @doprintenv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x0, x1
	bl	_USE
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_3
; %bb.1:
	bl	_tgetenv
	cbz	x0, LBB0_10
; %bb.2:
	mov	x19, x0
Lloh0:
	adrp	x8, _output_raw@GOTPAGE
Lloh1:
	ldr	x8, [x8, _output_raw@GOTPAGEOFF]
	ldr	w9, [x8]
	str	w9, [sp, #8]
	mov	w9, #1
	str	w9, [x8]
Lloh2:
	adrp	x8, _output_raw_restore@GOTPAGE
Lloh3:
	ldr	x8, [x8, _output_raw_restore@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_cleanup_push
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_xprintf
	add	x0, sp, #8
	b	LBB0_9
LBB0_3:
Lloh7:
	adrp	x0, _xlate_cr@GOTPAGE
Lloh8:
	ldr	x0, [x0, _xlate_cr@GOTPAGEOFF]
	mov	w8, #1
	str	w8, [x0]
Lloh9:
	adrp	x8, _xlate_cr_cleanup@GOTPAGE
Lloh10:
	ldr	x8, [x8, _xlate_cr_cleanup@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_cleanup_push
Lloh12:
	adrp	x8, _STR_environ@GOTPAGE
Lloh13:
	ldr	x8, [x8, _STR_environ@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	x1, [x8]
	cbz	x1, LBB0_8
; %bb.4:
	add	x20, x8, #8
Lloh15:
	adrp	x21, _setintr@GOTPAGE
Lloh16:
	ldr	x21, [x21, _setintr@GOTPAGEOFF]
Lloh17:
	adrp	x19, l_.str@PAGE
Lloh18:
	add	x19, x19, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_xprintf
	ldr	x1, [x20], #8
	cbz	x1, LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	cbz	x8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #12
	bl	_pintr_push_enable
	add	x0, sp, #12
	bl	_cleanup_until
	ldur	x1, [x20, #-8]
	b	LBB0_5
LBB0_8:
Lloh19:
	adrp	x0, _xlate_cr@GOTPAGE
Lloh20:
	ldr	x0, [x0, _xlate_cr@GOTPAGEOFF]
LBB0_9:
	bl	_cleanup_until
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_10:
Lloh21:
	adrp	x8, _STRstatus@GOTPAGE
Lloh22:
	ldr	x8, [x8, _STRstatus@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x8, _STR1@GOTPAGE
Lloh25:
	ldr	x8, [x8, _STR1@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _VAR_READWRITE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _VAR_READWRITE@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_setcopy
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_xlate_cr,4,2                   ; @xlate_cr
	.comm	_xlate_cr_cleanup,4,2           ; @xlate_cr_cleanup
	.comm	_STR_environ,8,3                ; @STR_environ
	.comm	_setintr,8,3                    ; @setintr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%S\n"

	.comm	_output_raw,4,2                 ; @output_raw
	.comm	_output_raw_restore,4,2         ; @output_raw_restore
	.comm	_STRstatus,4,2                  ; @STRstatus
	.comm	_STR1,4,2                       ; @STR1
	.comm	_VAR_READWRITE,4,2              ; @VAR_READWRITE
.subsections_via_symbols
