	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___direction_hexdump_cb         ## -- Begin function __direction_hexdump_cb
	.p2align	4, 0x90
___direction_hexdump_cb:                ## @__direction_hexdump_cb
	.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
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	16(%rdi), %rdi
	callq	___get_cur_panel
	movq	%rax, %r14
	movl	8(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_r_config_get_i
	testl	%eax, %eax
	movl	$16, %esi
	cmovgl	%eax, %esi
	movq	(%r14), %rdi
	movl	$1, (%rdi)
	addl	$-128, %ebx
	cmpl	$3, %ebx
	ja	LBB0_29
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	8(%r14), %rbx
	cmpl	$0, 4(%rbx)
	je	LBB0_15
## %bb.3:
	movl	4(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_29
## %bb.4:
	decl	%eax
	movl	%eax, 4(%rdi)
	jmp	LBB0_29
LBB0_5:
	movq	(%r15), %rbx
	movl	(%rbx), %ecx
	movl	%ecx, %eax
	cltd
	idivl	%esi
	movl	8(%rdi), %edi
	addl	$-5, %edi
	cmpl	%edi, %eax
	jl	LBB0_13
## %bb.6:
	leal	-1(%rsi), %eax
	cmpl	%eax, %edx
	jne	LBB0_13
## %bb.7:
	movq	8(%r14), %rax
	addl	%esi, (%rax)
	subl	%edx, %ecx
	movl	%ecx, (%rbx)
	jmp	LBB0_29
LBB0_8:
	movq	(%r15), %rax
	cmpl	$0, (%rax)
	je	LBB0_18
## %bb.9:
	cmpl	$0, 4(%rax)
	je	LBB0_22
## %bb.10:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___cursor_left                  ## TAILCALL
LBB0_11:
	movq	8(%r14), %rbx
	cmpl	$0, 4(%rbx)
	je	LBB0_19
## %bb.12:
	incl	4(%rdi)
	jmp	LBB0_29
LBB0_13:
	cmpl	$0, 4(%rbx)
	je	LBB0_23
## %bb.14:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___cursor_right                 ## TAILCALL
LBB0_15:
	movq	(%r15), %rdi
	cmpl	$0, 4(%rdi)
	je	LBB0_24
## %bb.16:
	movl	(%rdi), %ecx
	movl	%ecx, %eax
	cltd
	idivl	%esi
	testl	%eax, %eax
	je	LBB0_28
## %bb.17:
	subl	%esi, %ecx
	movl	%ecx, (%rdi)
	jmp	LBB0_29
LBB0_18:
	movq	8(%r14), %rcx
	subl	%esi, (%rcx)
	decl	%esi
	movl	%esi, (%rax)
	jmp	LBB0_29
LBB0_19:
	movq	(%r15), %rcx
	cmpl	$0, 4(%rcx)
	je	LBB0_27
## %bb.20:
	movl	(%rcx), %r8d
	movl	%r8d, %eax
	cltd
	idivl	%esi
	movl	8(%rdi), %edx
	addl	$-5, %edx
	cmpl	%edx, %eax
	jge	LBB0_27
## %bb.21:
	addl	%esi, %r8d
	movl	%r8d, (%rcx)
	jmp	LBB0_29
LBB0_27:
	addl	%esi, (%rbx)
	jmp	LBB0_29
LBB0_22:
	movq	8(%r14), %rax
	decl	(%rax)
	jmp	LBB0_29
LBB0_23:
	movq	8(%r14), %rax
	incl	(%rax)
	jmp	LBB0_29
LBB0_24:
	movl	(%rbx), %eax
	subl	%esi, %eax
	jle	LBB0_30
## %bb.25:
	movl	%eax, (%rbx)
	jmp	LBB0_29
LBB0_28:
	subl	%esi, (%rbx)
LBB0_29:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___set_panel_addr               ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hex.cols"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___direction_hexdump_cb         ; -- Begin function __direction_hexdump_cb
	.p2align	2
___direction_hexdump_cb:                ; @__direction_hexdump_cb
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	x0, [x0, #16]
	bl	___get_cur_panel
	mov	x20, x0
	ldr	w0, [x19, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_r_config_get_i
	mov	w8, #16
	cmp	w0, #1
	csel	w8, w8, w0, lt
	ldr	x9, [x20]
	mov	w10, #1
	str	w10, [x9]
	sub	w10, w21, #128
	cmp	w10, #3
	b.hi	LBB0_29
; %bb.1:
Lloh2:
	adrp	x11, lJTI0_0@PAGE
Lloh3:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_2
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_2:
	ldr	x10, [x20, #8]
	ldr	w11, [x10, #4]
	cbz	w11, LBB0_15
; %bb.3:
	ldr	w8, [x9, #4]
	subs	w8, w8, #1
	b.ge	LBB0_12
	b	LBB0_29
LBB0_4:
	ldr	x10, [x19]
	ldr	w11, [x10]
	sdiv	w12, w11, w8
	ldr	w9, [x9, #8]
	sub	w9, w9, #5
	cmp	w12, w9
	b.lt	LBB0_13
; %bb.5:
	msub	w9, w12, w8, w11
	sub	w12, w8, #1
	cmp	w9, w12
	b.ne	LBB0_13
; %bb.6:
	ldr	x12, [x20, #8]
	ldr	w13, [x12]
	add	w8, w13, w8
	str	w8, [x12]
	sub	w8, w11, w9
	b	LBB0_28
LBB0_7:
	ldr	x9, [x19]
	ldr	w10, [x9]
	cbz	w10, LBB0_18
; %bb.8:
	ldr	w8, [x9, #4]
	cbz	w8, LBB0_24
; %bb.9:
	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	___cursor_left
LBB0_10:
	ldr	x10, [x20, #8]
	ldr	w11, [x10, #4]
	cbz	w11, LBB0_19
; %bb.11:
	ldr	w8, [x9, #4]
	add	w8, w8, #1
LBB0_12:
	str	w8, [x9, #4]
	b	LBB0_29
LBB0_13:
	ldr	w8, [x10, #4]
	cbz	w8, LBB0_22
; %bb.14:
	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	___cursor_right
LBB0_15:
	ldr	x9, [x19]
	ldr	w11, [x9, #4]
	cbz	w11, LBB0_25
; %bb.16:
	ldr	w11, [x9]
	sdiv	w12, w11, w8
	cbz	w12, LBB0_27
; %bb.17:
	sub	w8, w11, w8
	str	w8, [x9]
	b	LBB0_29
LBB0_18:
	ldr	x10, [x20, #8]
	ldr	w11, [x10]
	sub	w11, w11, w8
	str	w11, [x10]
	sub	w8, w8, #1
	str	w8, [x9]
	b	LBB0_29
LBB0_19:
	ldr	x11, [x19]
	ldr	w12, [x11, #4]
	cbz	w12, LBB0_23
; %bb.20:
	ldr	w12, [x11]
	sdiv	w13, w12, w8
	ldr	w9, [x9, #8]
	sub	w9, w9, #5
	cmp	w13, w9
	b.ge	LBB0_23
; %bb.21:
	add	w8, w12, w8
	str	w8, [x11]
	b	LBB0_29
LBB0_22:
	ldr	x8, [x20, #8]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_29
LBB0_23:
	ldr	w9, [x10]
	add	w8, w9, w8
	b	LBB0_28
LBB0_24:
	ldr	x8, [x20, #8]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
	b	LBB0_29
LBB0_25:
	ldr	w9, [x10]
	subs	w8, w9, w8
	b.gt	LBB0_28
; %bb.26:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	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	___set_panel_addr
LBB0_27:
	ldr	w9, [x10]
	sub	w8, w9, w8
LBB0_28:
	str	w8, [x10]
LBB0_29:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hex.cols"

.subsections_via_symbols
