	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmd_wf
_cmd_wf:                                ## @cmd_wf
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	cmpb	$0, (%rsi)
	je	LBB0_12
## %bb.2:
	movq	%rdi, %r15
	movb	1(%rsi), %al
	incq	%rsi
	cmpb	$115, %al
	je	LBB0_6
## %bb.3:
	cmpb	$102, %al
	je	LBB0_7
## %bb.4:
	cmpb	$63, %al
	jne	LBB0_8
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	_eprintf
	movq	_help_msg_wf@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_r_core_cmd_help
	jmp	LBB0_12
LBB0_6:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cmd_wfs                        ## TAILCALL
LBB0_7:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cmd_wff                        ## TAILCALL
LBB0_8:
	movq	%rsi, %rdi
	callq	_r_str_trim_dup
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	$32, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rax, %rsi
	incq	%rsi
	movb	$0, (%rax)
	movl	8(%r15), %edi
	callq	_r_num_math
	movq	%rax, %rbx
	jmp	LBB0_11
LBB0_9:
	movl	(%r15), %ebx
LBB0_11:
	movl	8(%r15), %edi
	movq	%r14, %rsi
	callq	_r_num_math
	movl	4(%r15), %esi
	movq	%r15, %rdi
	movq	%rax, %rdx
	movl	%ebx, %ecx
	callq	_ioMemcpy
	movq	%r14, %rdi
	callq	_free
	movq	%r15, %rdi
	callq	_r_core_block_read
	movl	$1, %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Usage: wf [file] ([size] ([offset]))\n"

	.comm	_help_msg_wf,4,2                ## @help_msg_wf
	.no_dead_strip	_cmd_wf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmd_wf
_cmd_wf:                                ; @cmd_wf
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	cbz	x0, LBB0_13
; %bb.1:
	ldrb	w8, [x1]
	cbz	w8, LBB0_6
; %bb.2:
	mov	x19, x0
	ldrb	w8, [x1, #1]!
	cmp	w8, #115
	b.eq	LBB0_7
; %bb.3:
	cmp	w8, #102
	b.eq	LBB0_8
; %bb.4:
	cmp	w8, #63
	b.ne	LBB0_9
; %bb.5:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_eprintf
Lloh2:
	adrp	x8, _help_msg_wf@GOTPAGE
Lloh3:
	ldr	x8, [x8, _help_msg_wf@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_r_core_cmd_help
LBB0_6:
	mov	w0, #0
	b	LBB0_13
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_cmd_wfs
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_cmd_wff
LBB0_9:
	mov	x0, x1
	bl	_r_str_trim_dup
	mov	x20, x0
	mov	w1, #32
	bl	_strchr
	cbz	x0, LBB0_11
; %bb.10:
	mov	x1, x0
	strb	wzr, [x1], #1
	ldr	w0, [x19, #8]
	bl	_r_num_math
	mov	x21, x0
	b	LBB0_12
LBB0_11:
	ldr	w21, [x19]
LBB0_12:
	ldr	w0, [x19, #8]
	mov	x1, x20
	bl	_r_num_math
	mov	x2, x0
	ldr	w1, [x19, #4]
	mov	x0, x19
	mov	x3, x21
	bl	_ioMemcpy
	mov	x0, x20
	bl	_free
	mov	x0, x19
	bl	_r_core_block_read
	mov	w0, #1
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Usage: wf [file] ([size] ([offset]))\n"

	.comm	_help_msg_wf,4,2                ; @help_msg_wf
	.no_dead_strip	_cmd_wf
.subsections_via_symbols
