	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sethistsize                    ## -- Begin function sethistsize
	.p2align	4, 0x90
_sethistsize:                           ## @sethistsize
	.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
	movq	_hist@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	movl	$100, %r14d
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_is_number
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_atoi
	movl	%eax, %r14d
LBB0_4:
	movq	(%r15), %rdi
	movq	_H_SETSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-28(%rbp), %rbx
	movq	%rbx, %rsi
	movl	%r14d, %ecx
	callq	_history
	movq	(%r15), %rdi
	movq	_H_SETUNIQUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	movl	$1, %ecx
	callq	_history
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hist,8,3                       ## @hist
	.comm	_H_SETSIZE,4,2                  ## @H_SETSIZE
	.comm	_H_SETUNIQUE,4,2                ## @H_SETUNIQUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sethistsize                    ; -- Begin function sethistsize
	.p2align	2
_sethistsize:                           ; @sethistsize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x20, _hist@GOTPAGE
Lloh1:
	ldr	x20, [x20, _hist@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_is_number
	cbz	w0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_atoi
	mov	x3, x0
	b	LBB0_5
LBB0_4:
	mov	w3, #100
LBB0_5:
	ldr	x0, [x20]
Lloh2:
	adrp	x8, _H_SETSIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _H_SETSIZE@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	add	x1, sp, #12
	bl	_history
	ldr	x0, [x20]
Lloh5:
	adrp	x8, _H_SETUNIQUE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _H_SETUNIQUE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	add	x1, sp, #12
	mov	w3, #1
	bl	_history
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_hist,8,3                       ; @hist
	.comm	_H_SETSIZE,4,2                  ; @H_SETSIZE
	.comm	_H_SETUNIQUE,4,2                ; @H_SETUNIQUE
.subsections_via_symbols
