	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sko_push
_sko_push:                              ## @sko_push
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	movq	_sko_stack@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_sko_len@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_5
LBB0_2:
	movq	_sko_sz@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movl	$4, %edi
	callq	_flex_alloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_flexfatal
LBB0_4:
	movq	_sko_len@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	xorl	%ecx, %ecx
LBB0_5:
	movq	_sko_sz@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpl	%esi, %ecx
	jge	LBB0_7
## %bb.6:
	movq	(%rbx), %rax
	jmp	LBB0_8
LBB0_7:
	leal	(%rsi,%rsi), %ecx
	movl	%ecx, (%rax)
	movq	(%rbx), %rdi
	shll	$3, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_flex_realloc
	movq	%rax, (%rbx)
	movq	_sko_len@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_8:
	movslq	%ecx, %rcx
	movl	%r14d, (%rax,%rcx,4)
	movq	_sko_len@GOTPCREL(%rip), %rax
	incl	(%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sko_stack,8,3                  ## @sko_stack
	.comm	_sko_sz,4,2                     ## @sko_sz
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"allocation of sko_stack failed"

	.comm	_sko_len,4,2                    ## @sko_len
	.no_dead_strip	_sko_push
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sko_push
_sko_push:                              ; @sko_push
	.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	x19, x0
Lloh0:
	adrp	x21, _sko_stack@GOTPAGE
Lloh1:
	ldr	x21, [x21, _sko_stack@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x20, _sko_len@GOTPAGE
Lloh3:
	ldr	x20, [x20, _sko_len@GOTPAGEOFF]
Lloh4:
	adrp	x22, _sko_sz@GOTPAGE
Lloh5:
	ldr	x22, [x22, _sko_sz@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x20]
	b	LBB0_5
LBB0_2:
	mov	w8, #1
	str	w8, [x22]
	mov	w0, #4
	bl	_flex_alloc
	str	x0, [x21]
	cbnz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	bl	_flexfatal
LBB0_4:
	mov	w8, #0
	str	wzr, [x20]
LBB0_5:
	ldr	w9, [x22]
	cmp	w8, w9
	b.ge	LBB0_7
; %bb.6:
	ldr	x0, [x21]
	b	LBB0_8
LBB0_7:
	lsl	w8, w9, #1
	str	w8, [x22]
	ldr	x0, [x21]
	lsl	w1, w9, #3
	bl	_flex_realloc
	str	x0, [x21]
	ldr	w8, [x20]
LBB0_8:
	str	w19, [x0, w8, sxtw #2]
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	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 AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_sko_stack,8,3                  ; @sko_stack
	.comm	_sko_sz,4,2                     ; @sko_sz
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"allocation of sko_stack failed"

	.comm	_sko_len,4,2                    ; @sko_len
	.no_dead_strip	_sko_push
.subsections_via_symbols
