	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%rsi), %rdi
	callq	_basename
	movq	_progname@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	leaq	L_.str(%rip), %r12
	leaq	LJTI0_0(%rip), %r15
	movq	_optarg@GOTPCREL(%rip), %r13
	jmp	LBB0_1
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtoul
	movq	_offset@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-79(%rax), %ecx
	cmpl	$36, %ecx
	ja	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r15,%rcx,4), %rax
	addq	%r15, %rax
	jmpq	*%rax
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_big_endian@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_1
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rax
	movq	_dev_name@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_1
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rax
	movq	_ifname@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_1
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rax
	movq	_ofname@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_1
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rax
	movq	_signature@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_1
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	je	LBB0_13
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rax), %edi
	callq	_usage
	jmp	LBB0_1
LBB0_13:
	movq	_signature@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_14
## %bb.15:
	movq	_ifname@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	je	LBB0_16
## %bb.17:
	movq	_ofname@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_18
## %bb.19:
	movq	_dev_name@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_20
## %bb.21:
	leaq	-72(%rbp), %rsi
	callq	_stat
	testl	%eax, %eax
	je	LBB0_23
## %bb.22:
	movq	(%rbx), %rsi
	leaq	L_.str.5(%rip), %rdi
	callq	_ERRS
	jmp	LBB0_40
LBB0_14:
	leaq	L_.str.1(%rip), %rdi
	callq	_ERR
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_40
LBB0_16:
	leaq	L_.str.2(%rip), %rdi
	callq	_ERR
	jmp	LBB0_40
LBB0_18:
	leaq	L_.str.3(%rip), %rdi
	callq	_ERR
	jmp	LBB0_40
LBB0_20:
	leaq	L_.str.4(%rip), %rdi
	callq	_ERR
	jmp	LBB0_40
LBB0_23:
	movl	-72(%rbp), %r13d
	leal	24(%r13), %ebx
	movl	%ebx, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_24
## %bb.25:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%ebx, -76(%rbp)                 ## 4-byte Spill
	movq	_ifname@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_26
## %bb.27:
	movq	_errno@GOTPCREL(%rip), %r12
	movq	$0, (%r12)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	leaq	24(%rbx), %rdi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movl	%r13d, %esi
	movl	$1, %edx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rcx
	callq	_fread
	cmpq	$0, (%r12)
	je	LBB0_29
## %bb.28:
	movq	_ifname@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	L_.str.9(%rip), %rdi
LBB0_31:
	callq	_ERRS
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_38
LBB0_24:
	leaq	L_.str.6(%rip), %rdi
	callq	_ERR
	jmp	LBB0_40
LBB0_26:
	movq	(%r12), %rsi
	leaq	L_.str.8(%rip), %rdi
	callq	_ERRS
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_39
LBB0_29:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	20(%rbx), %edi
	movq	_signature@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	$4, %edx
	callq	_strncpy
	movl	16(%rbx), %edi
	movq	_dev_name@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	$4, %edx
	callq	_strncpy
	leaq	12(%rbx), %rdi
	movq	%r15, %r12
	movq	_WRG_MAGIC@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_put_u32
	leaq	8(%rbx), %rdi
	movl	(%r15), %esi
	callq	_put_u32
	movq	%rbx, %rdi
	addq	$4, %rdi
	movl	%r13d, %esi
	callq	_put_u32
	movq	_offset@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_put_u32
	movq	%rbx, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_get_digest
	movq	(%r12), %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_30
## %bb.32:
	movq	%rax, %r15
	movq	_errno@GOTPCREL(%rip), %r12
	movq	$0, (%r12)
	movq	%rbx, %rdi
	movl	-76(%rbp), %esi                 ## 4-byte Reload
	movl	$1, %edx
	movq	%rax, %rcx
	callq	_fwrite
	cmpq	$0, (%r12)
	je	LBB0_34
## %bb.33:
	movq	_ofname@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	L_.str.12(%rip), %rdi
	callq	_ERRS
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %r12
	jmp	LBB0_35
LBB0_30:
	movq	(%r12), %rsi
	leaq	L_.str.11(%rip), %rdi
	jmp	LBB0_31
LBB0_34:
	movq	%r15, %rdi
	callq	_fflush
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %r12
	movl	(%r12), %r14d
LBB0_35:
	movq	%r15, %rdi
	callq	_fclose
	cmpl	(%r12), %r14d
	je	LBB0_37
## %bb.36:
	movq	_ofname@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_unlink
LBB0_37:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_38:
	callq	_fclose
LBB0_39:
	movq	%rbx, %rdi
	callq	_free
LBB0_40:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_11
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_8
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.comm	_progname,4,2                   ## @progname
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bd:i:o:s:O:h"

	.comm	_big_endian,4,2                 ## @big_endian
	.comm	_optarg,8,3                     ## @optarg
	.comm	_dev_name,8,3                   ## @dev_name
	.comm	_ifname,8,3                     ## @ifname
	.comm	_ofname,8,3                     ## @ofname
	.comm	_signature,8,3                  ## @signature
	.comm	_offset,4,2                     ## @offset
	.comm	_EXIT_SUCCESS,4,2               ## @EXIT_SUCCESS
L_.str.1:                               ## @.str.1
	.asciz	"no signature specified"

L_.str.2:                               ## @.str.2
	.asciz	"no input file specified"

L_.str.3:                               ## @.str.3
	.asciz	"no output file specified"

L_.str.4:                               ## @.str.4
	.asciz	"no device name specified"

L_.str.5:                               ## @.str.5
	.asciz	"stat failed on %s"

L_.str.6:                               ## @.str.6
	.asciz	"no memory for buffer\n"

L_.str.7:                               ## @.str.7
	.asciz	"r"

L_.str.8:                               ## @.str.8
	.asciz	"could not open \"%s\" for reading"

	.comm	_errno,8,3                      ## @errno
L_.str.9:                               ## @.str.9
	.asciz	"unable to read from file %s"

	.comm	_WRG_MAGIC,4,2                  ## @WRG_MAGIC
L_.str.10:                              ## @.str.10
	.asciz	"w"

L_.str.11:                              ## @.str.11
	.asciz	"could not open \"%s\" for writing"

L_.str.12:                              ## @.str.12
	.asciz	"unable to write to file %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x19, _EXIT_FAILURE@GOTPAGE
Lloh1:
	ldr	x19, [x19, _EXIT_FAILURE@GOTPAGEOFF]
	ldr	w8, [x19]
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	ldr	x0, [x1]
	bl	_basename
Lloh2:
	adrp	x8, _progname@GOTPAGE
Lloh3:
	ldr	x8, [x8, _progname@GOTPAGEOFF]
Lloh4:
	adrp	x22, l_.str@PAGE
Lloh5:
	add	x22, x22, l_.str@PAGEOFF
Lloh6:
	adrp	x25, lJTI0_0@PAGE
Lloh7:
	add	x25, x25, lJTI0_0@PAGEOFF
Lloh8:
	adrp	x26, _optarg@GOTPAGE
Lloh9:
	ldr	x26, [x26, _optarg@GOTPAGEOFF]
Lloh10:
	adrp	x27, _big_endian@GOTPAGE
Lloh11:
	ldr	x27, [x27, _big_endian@GOTPAGEOFF]
Lloh12:
	str	w0, [x8]
	mov	w28, #1
Lloh13:
	adrp	x23, _ifname@GOTPAGE
Lloh14:
	ldr	x23, [x23, _ifname@GOTPAGEOFF]
Lloh15:
	adrp	x24, _ofname@GOTPAGE
Lloh16:
	ldr	x24, [x24, _ofname@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh17:
	adrp	x8, _EXIT_SUCCESS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_usage
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_getopt
	sub	w8, w0, #79
	cmp	w8, #36
	b.hi	LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x9, LBB0_1
	ldrb	w10, [x25, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x26]
	mov	x1, #0
	mov	w2, #0
	bl	_strtoul
Lloh20:
	adrp	x8, _offset@GOTPAGE
Lloh21:
	ldr	x8, [x8, _offset@GOTPAGEOFF]
Lloh22:
	str	w0, [x8]
	b	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	w28, [x27]
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x26]
Lloh23:
	adrp	x9, _dev_name@GOTPAGE
Lloh24:
	ldr	x9, [x9, _dev_name@GOTPAGEOFF]
Lloh25:
	str	x8, [x9]
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x26]
	str	x8, [x23]
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x26]
	str	x8, [x24]
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x26]
Lloh26:
	adrp	x9, _signature@GOTPAGE
Lloh27:
	ldr	x9, [x9, _signature@GOTPAGEOFF]
Lloh28:
	str	x8, [x9]
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x19]
	bl	_usage
	b	LBB0_2
LBB0_12:
Lloh29:
	adrp	x8, _signature@GOTPAGE
Lloh30:
	ldr	x8, [x8, _signature@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	cbz	x8, LBB0_18
; %bb.13:
	ldr	x0, [x23]
	cbz	x0, LBB0_19
; %bb.14:
	ldr	x8, [x24]
	cbz	x8, LBB0_20
; %bb.15:
Lloh32:
	adrp	x8, _dev_name@GOTPAGE
Lloh33:
	ldr	x8, [x8, _dev_name@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	cbz	x8, LBB0_21
; %bb.16:
	mov	x25, x24
	add	x1, sp, #8
	bl	_stat
	cbz	w0, LBB0_25
; %bb.17:
	ldr	x1, [x23]
Lloh35:
	adrp	x0, l_.str.5@PAGE
Lloh36:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_ERRS
	b	LBB0_23
LBB0_18:
Lloh37:
	adrp	x0, l_.str.1@PAGE
Lloh38:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_22
LBB0_19:
Lloh39:
	adrp	x0, l_.str.2@PAGE
Lloh40:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_22
LBB0_20:
Lloh41:
	adrp	x0, l_.str.3@PAGE
Lloh42:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_22
LBB0_21:
Lloh43:
	adrp	x0, l_.str.4@PAGE
Lloh44:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_22:
	bl	_ERR
LBB0_23:
	ldr	w19, [sp, #4]                   ; 4-byte Folded Reload
LBB0_24:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_25:
	ldr	w21, [sp, #8]
	add	w22, w21, #24
	mov	x0, x22
	bl	_malloc
	cbz	x0, LBB0_31
; %bb.26:
	mov	x20, x0
	ldr	x0, [x23]
Lloh45:
	adrp	x1, l_.str.7@PAGE
Lloh46:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_32
; %bb.27:
	mov	x24, x0
Lloh47:
	adrp	x26, _errno@GOTPAGE
Lloh48:
	ldr	x26, [x26, _errno@GOTPAGEOFF]
	str	xzr, [x26]
	add	x27, x20, #24
	mov	x0, x27
	mov	x1, x21
	mov	w2, #1
	mov	x3, x24
	bl	_fread
	ldr	x8, [x26]
	cbz	x8, LBB0_34
; %bb.28:
	ldr	x1, [x23]
Lloh49:
	adrp	x0, l_.str.9@PAGE
Lloh50:
	add	x0, x0, l_.str.9@PAGEOFF
LBB0_29:
	bl	_ERRS
	ldr	w19, [sp, #4]                   ; 4-byte Folded Reload
LBB0_30:
	mov	x0, x24
	bl	_fclose
	b	LBB0_33
LBB0_31:
Lloh51:
	adrp	x0, l_.str.6@PAGE
Lloh52:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_22
LBB0_32:
	ldr	x1, [x23]
Lloh53:
	adrp	x0, l_.str.8@PAGE
Lloh54:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_ERRS
	ldr	w19, [sp, #4]                   ; 4-byte Folded Reload
LBB0_33:
	mov	x0, x20
	bl	_free
	b	LBB0_24
LBB0_34:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	w0, [x20, #20]
Lloh55:
	adrp	x8, _signature@GOTPAGE
Lloh56:
	ldr	x8, [x8, _signature@GOTPAGEOFF]
Lloh57:
	ldr	x1, [x8]
	mov	w2, #4
	bl	_strncpy
	ldr	w0, [x20, #16]
Lloh58:
	adrp	x8, _dev_name@GOTPAGE
Lloh59:
	ldr	x8, [x8, _dev_name@GOTPAGEOFF]
Lloh60:
	ldr	x1, [x8]
	mov	w2, #4
	bl	_strncpy
	add	x0, x20, #12
Lloh61:
	adrp	x19, _WRG_MAGIC@GOTPAGE
Lloh62:
	ldr	x19, [x19, _WRG_MAGIC@GOTPAGEOFF]
	ldr	w1, [x19]
	bl	_put_u32
	add	x0, x20, #8
	ldr	w1, [x19]
	bl	_put_u32
	add	x0, x20, #4
	mov	x1, x21
	bl	_put_u32
Lloh63:
	adrp	x8, _offset@GOTPAGE
Lloh64:
	ldr	x8, [x8, _offset@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_put_u32
	mov	x0, x20
	mov	x1, x27
	mov	x2, x21
	bl	_get_digest
	ldr	x0, [x25]
Lloh66:
	adrp	x1, l_.str.10@PAGE
Lloh67:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_37
; %bb.35:
	mov	x23, x0
	str	xzr, [x26]
	mov	x0, x20
	mov	x1, x22
	mov	w2, #1
	mov	x3, x23
	bl	_fwrite
	ldr	x8, [x26]
	cbz	x8, LBB0_38
; %bb.36:
	ldr	x1, [x25]
Lloh68:
	adrp	x0, l_.str.12@PAGE
Lloh69:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_ERRS
	ldr	w19, [sp, #4]                   ; 4-byte Folded Reload
Lloh70:
	adrp	x21, _EXIT_SUCCESS@GOTPAGE
Lloh71:
	ldr	x21, [x21, _EXIT_SUCCESS@GOTPAGEOFF]
	b	LBB0_39
LBB0_37:
	ldr	x1, [x25]
Lloh72:
	adrp	x0, l_.str.11@PAGE
Lloh73:
	add	x0, x0, l_.str.11@PAGEOFF
	b	LBB0_29
LBB0_38:
	mov	x0, x23
	bl	_fflush
Lloh74:
	adrp	x21, _EXIT_SUCCESS@GOTPAGE
Lloh75:
	ldr	x21, [x21, _EXIT_SUCCESS@GOTPAGEOFF]
	ldr	w19, [x21]
LBB0_39:
	mov	x0, x23
	bl	_fclose
	ldr	w8, [x21]
	cmp	w19, w8
	b.eq	LBB0_30
; %bb.40:
	ldr	x0, [x25]
	bl	_unlink
	b	LBB0_30
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh74, Lloh75
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_5-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_7-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
                                        ; -- End function
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.comm	_progname,4,2                   ; @progname
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bd:i:o:s:O:h"

	.comm	_big_endian,4,2                 ; @big_endian
	.comm	_optarg,8,3                     ; @optarg
	.comm	_dev_name,8,3                   ; @dev_name
	.comm	_ifname,8,3                     ; @ifname
	.comm	_ofname,8,3                     ; @ofname
	.comm	_signature,8,3                  ; @signature
	.comm	_offset,4,2                     ; @offset
	.comm	_EXIT_SUCCESS,4,2               ; @EXIT_SUCCESS
l_.str.1:                               ; @.str.1
	.asciz	"no signature specified"

l_.str.2:                               ; @.str.2
	.asciz	"no input file specified"

l_.str.3:                               ; @.str.3
	.asciz	"no output file specified"

l_.str.4:                               ; @.str.4
	.asciz	"no device name specified"

l_.str.5:                               ; @.str.5
	.asciz	"stat failed on %s"

l_.str.6:                               ; @.str.6
	.asciz	"no memory for buffer\n"

l_.str.7:                               ; @.str.7
	.asciz	"r"

l_.str.8:                               ; @.str.8
	.asciz	"could not open \"%s\" for reading"

	.comm	_errno,8,3                      ; @errno
l_.str.9:                               ; @.str.9
	.asciz	"unable to read from file %s"

	.comm	_WRG_MAGIC,4,2                  ; @WRG_MAGIC
l_.str.10:                              ; @.str.10
	.asciz	"w"

l_.str.11:                              ; @.str.11
	.asciz	"could not open \"%s\" for writing"

l_.str.12:                              ; @.str.12
	.asciz	"unable to write to file %s"

.subsections_via_symbols
