	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dd_out                         ## -- Begin function dd_out
	.p2align	4, 0x90
_dd_out:                                ## @dd_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_out@GOTPCREL(%rip), %r12
	leaq	8(%r12), %rax
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	testl	%edi, %edi
	cmovneq	%r12, %rax
	movq	24(%r12), %rbx
	movq	(%rax), %rax
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r12), %rcx
	movq	8(%r12), %rax
	movq	%rcx, %rdx
	subq	%r14, %rdx
	movq	%rdx, (%r12)
	cmpq	%rax, %rdx
	jb	LBB0_27
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movq	%rax, %r14
	movq	%rax, %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=2
	leaq	(%rbx,%r15,4), %rbx
	subq	%r15, %r13
	je	LBB0_26
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_C_SPARSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ddflags@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_BISZERO
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=2
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	_pending@GOTPCREL(%rip), %rax
	addq	%r13, (%rax)
	movq	%r13, %r15
	testq	%r15, %r15
	jne	LBB0_15
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=2
	movq	_pending@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=2
	movl	44(%r12), %edi
	movq	_SEEK_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_lseek
	movl	%eax, 16(%r12)
	cmpl	$-1, %eax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=2
	movl	40(%r12), %edx
	movl	$2, %edi
	leaq	L_.str(%rip), %rsi
	callq	_err
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=2
	movq	_pending@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=2
	testq	%r13, %r13
	je	LBB0_30
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=2
	movl	44(%r12), %edi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_write
	movq	%rax, %r15
	movl	$0, 16(%r12)
	testq	%r15, %r15
	jne	LBB0_15
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=2
	movl	40(%r12), %edx
	movl	$1, %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_errx
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EINTR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=2
	movl	40(%r12), %edx
	movl	$1, %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_err
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	_st@GOTPCREL(%rip), %rax
	addq	%r15, (%rax)
	cmpq	%r14, %r15
	jne	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=2
	cmpq	8(%r12), %r14
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=2
	movq	_st@GOTPCREL(%rip), %rax
	incl	12(%rax)
	cmpq	%r15, %r13
	je	LBB0_25
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	_st@GOTPCREL(%rip), %rax
	incl	8(%rax)
	cmpq	%r15, %r13
	je	LBB0_25
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=2
	movl	20(%r12), %eax
	movq	_ISTAPE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=2
	movl	40(%r12), %edx
	movl	$1, %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_errx
	movl	20(%r12), %eax
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	_ISCHR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=2
	testb	$1, _dd_out.warned(%rip)
	jne	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=2
	movb	$1, _dd_out.warned(%rip)
	movl	40(%r12), %esi
	leaq	L_.str.4(%rip), %rdi
	callq	_warnx
	jmp	LBB0_25
LBB0_27:
	cmpq	%r14, %rcx
	je	LBB0_29
## %bb.28:
	movq	24(%r12), %rdi
	movq	32(%r12), %rsi
	leaq	(,%rdx,4), %rax
	subq	%rax, %rsi
	callq	_memmove
	movq	(%r12), %rdx
LBB0_29:
	shlq	$2, %rdx
	addq	24(%r12), %rdx
	movq	%rdx, 32(%r12)
LBB0_30:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_dd_out.warned,1,2 ## @dd_out.warned
	.comm	_out,48,3                       ## @out
	.comm	_ddflags,4,2                    ## @ddflags
	.comm	_C_SPARSE,4,2                   ## @C_SPARSE
	.comm	_pending,8,3                    ## @pending
	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: seek error creating sparse file"

L_.str.1:                               ## @.str.1
	.asciz	"%s: end of device"

	.comm	_errno,8,3                      ## @errno
	.comm	_EINTR,8,3                      ## @EINTR
L_.str.2:                               ## @.str.2
	.asciz	"%s"

	.comm	_st,16,3                        ## @st
	.comm	_ISTAPE,4,2                     ## @ISTAPE
L_.str.3:                               ## @.str.3
	.asciz	"%s: short write on tape device"

	.comm	_ISCHR,4,2                      ## @ISCHR
L_.str.4:                               ## @.str.4
	.asciz	"%s: short write on character device"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dd_out                         ; -- Begin function dd_out
	.p2align	2
_dd_out:                                ; @dd_out
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x28, _out@GOTPAGE
Lloh1:
	ldr	x28, [x28, _out@GOTPAGEOFF]
	add	x8, x28, #8
	cmp	w0, #0
	csel	x8, x28, x8, ne
Lloh2:
	adrp	x21, _ddflags@GOTPAGE
Lloh3:
	ldr	x21, [x21, _ddflags@GOTPAGEOFF]
	ldr	x20, [x28, #24]
	ldr	x8, [x8]
Lloh4:
	adrp	x23, _C_SPARSE@GOTPAGE
Lloh5:
	ldr	x23, [x23, _C_SPARSE@GOTPAGEOFF]
Lloh6:
	adrp	x24, _pending@GOTPAGE
Lloh7:
	ldr	x24, [x24, _pending@GOTPAGEOFF]
Lloh8:
	adrp	x22, _st@GOTPAGE
Lloh9:
	ldr	x22, [x22, _st@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldp	x9, x8, [x28]
	sub	x2, x9, x25
	cmp	x2, x8
	str	x2, [x28]
	b.lo	LBB0_24
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	mov	x25, x8
	mov	x26, x8
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=2
	add	x20, x20, x27, lsl #2
	subs	x26, x26, x27
	b.eq	LBB0_1
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x21]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	x0, x20
	mov	x1, x26
	bl	_BISZERO
	cbnz	w19, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=2
	cbz	w0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	x8, [x24]
	add	x8, x8, x26
	str	x8, [x24]
	mov	x27, x26
	cbnz	x27, LBB0_16
	b	LBB0_14
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=2
	ldr	x1, [x24]
	cbz	x1, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	w0, [x28, #44]
Lloh10:
	adrp	x8, _SEEK_CUR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SEEK_CUR@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	bl	_lseek
	str	w0, [x28, #16]
	cmn	w0, #1
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=2
	ldr	w2, [x28, #40]
	mov	w0, #2
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	bl	_err
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=2
	str	xzr, [x24]
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=2
	cbz	x26, LBB0_27
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=2
	ldr	w0, [x28, #44]
	mov	x1, x20
	mov	x2, x26
	bl	_write
	mov	x27, x0
	str	wzr, [x28, #16]
	cbnz	x27, LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	w2, [x28, #40]
	mov	w0, #1
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_errx
Lloh17:
	adrp	x8, _errno@GOTPAGE
Lloh18:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
Lloh20:
	adrp	x9, _EINTR@GOTPAGE
Lloh21:
	ldr	x9, [x9, _EINTR@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=2
	ldr	w2, [x28, #40]
	mov	w0, #1
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_err
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	x8, [x22]
	add	x8, x8, x27
	str	x8, [x22]
	ldr	x8, [x28, #8]
	cmp	x27, x25
	ccmp	x25, x8, #0, eq
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=2
	ldr	w8, [x22, #8]
	add	w8, w8, #1
	str	w8, [x22, #8]
	cmp	x26, x27
	b.eq	LBB0_3
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	w8, [x22, #12]
	add	w8, w8, #1
	str	w8, [x22, #12]
	cmp	x26, x27
	b.eq	LBB0_3
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	w8, [x28, #20]
Lloh25:
	adrp	x9, _ISTAPE@GOTPAGE
Lloh26:
	ldr	x9, [x9, _ISTAPE@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=2
	ldr	w2, [x28, #40]
	mov	w0, #1
Lloh28:
	adrp	x1, l_.str.3@PAGE
Lloh29:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_errx
	ldr	w8, [x28, #20]
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=2
Lloh30:
	adrp	x9, _ISCHR@GOTPAGE
Lloh31:
	ldr	x9, [x9, _ISCHR@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.22:                               ;   in Loop: Header=BB0_4 Depth=2
	adrp	x8, _dd_out.warned@PAGE
	ldrb	w8, [x8, _dd_out.warned@PAGEOFF]
	tbnz	w8, #0, LBB0_3
; %bb.23:                               ;   in Loop: Header=BB0_4 Depth=2
	mov	w8, #1
	adrp	x9, _dd_out.warned@PAGE
	strb	w8, [x9, _dd_out.warned@PAGEOFF]
	ldr	w1, [x28, #40]
Lloh33:
	adrp	x0, l_.str.4@PAGE
Lloh34:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_warnx
	b	LBB0_3
LBB0_24:
	cmp	x9, x25
	b.eq	LBB0_26
; %bb.25:
	ldp	x0, x8, [x28, #24]
	sub	x1, x8, x2, lsl #2
	bl	_memmove
	ldr	x2, [x28]
LBB0_26:
	ldr	x8, [x28, #24]
	add	x8, x8, x2, lsl #2
	str	x8, [x28, #32]
LBB0_27:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_dd_out.warned,1,2 ; @dd_out.warned
	.comm	_out,48,3                       ; @out
	.comm	_ddflags,4,2                    ; @ddflags
	.comm	_C_SPARSE,4,2                   ; @C_SPARSE
	.comm	_pending,8,3                    ; @pending
	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: seek error creating sparse file"

l_.str.1:                               ; @.str.1
	.asciz	"%s: end of device"

	.comm	_errno,8,3                      ; @errno
	.comm	_EINTR,8,3                      ; @EINTR
l_.str.2:                               ; @.str.2
	.asciz	"%s"

	.comm	_st,16,3                        ; @st
	.comm	_ISTAPE,4,2                     ; @ISTAPE
l_.str.3:                               ; @.str.3
	.asciz	"%s: short write on tape device"

	.comm	_ISCHR,4,2                      ; @ISCHR
l_.str.4:                               ; @.str.4
	.asciz	"%s: short write on character device"

.subsections_via_symbols
