	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function delay_ctr
_delay_ctr:                             ## @delay_ctr
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	cmpl	$9, %esi
	ja	LBB0_2
## %bb.1:
	movl	%esi, %r12d
	movl	$584, %eax                      ## imm = 0x248
	btl	%esi, %eax
	jae	LBB0_2
## %bb.4:
	movq	%rdx, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$40, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r13
	movq	%rax, 24(%r14)
	leaq	36(%rax), %rdi
	movq	_handle_delayed_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_timer_setup
	leaq	32(%r13), %rdi
	movq	_flush_expired_bios@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	28(%r13), %rdi
	callq	_INIT_LIST_HEAD
	leaq	24(%r13), %rdi
	callq	_mutex_init
	leaq	20(%r13), %rdi
	movl	$1, %esi
	callq	_atomic_set
	movl	%r12d, (%r13)
	leaq	16(%r13), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_delay_class_ctr
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_7
LBB0_18:
	movq	%r14, %rdi
	callq	_delay_dtr
	jmp	LBB0_19
LBB0_5:
	leaq	L_.str.1(%rip), %rax
	movq	%rax, (%r14)
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rax
	movq	%rax, (%r14)
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_3:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_19:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	12(%r13), %rsi
	cmpl	$3, %r12d
	jne	LBB0_10
## %bb.8:
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_delay_class_ctr
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.9:
	movq	%r13, %rsi
	addq	$8, %rsi
	jmp	LBB0_14
LBB0_10:
	leaq	24(%r15), %rdx
	movq	%r14, %rdi
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	callq	_delay_class_ctr
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.11:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rsi
	addq	$8, %rsi
	cmpl	$6, %r12d
	jne	LBB0_13
## %bb.12:
	movq	%r14, %rdi
	jmp	LBB0_15
LBB0_13:
	addq	$48, %r15
LBB0_14:
	movq	%r14, %rdi
	movq	%r15, %rdx
LBB0_15:
	callq	_delay_class_ctr
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.16:
	movq	_WQ_MEM_RECLAIM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_alloc_workqueue
	movl	%eax, 4(%r13)
	testl	%eax, %eax
	je	LBB0_17
## %bb.20:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 8(%r14)
	movl	$4, 16(%r14)
	jmp	LBB0_19
LBB0_17:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	_DMERR
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Requires exactly 3, 6 or 9 arguments"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.1:                               ## @.str.1
	.asciz	"Cannot allocate context"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_handle_delayed_timer,4,2       ## @handle_delayed_timer
	.comm	_flush_expired_bios,4,2         ## @flush_expired_bios
L_.str.2:                               ## @.str.2
	.asciz	"kdelayd"

	.comm	_WQ_MEM_RECLAIM,4,2             ## @WQ_MEM_RECLAIM
L_.str.3:                               ## @.str.3
	.asciz	"Couldn't start kdelayd"

	.no_dead_strip	_delay_ctr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function delay_ctr
_delay_ctr:                             ; @delay_ctr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	cmp	w1, #9
	b.hi	LBB0_6
; %bb.1:
	mov	x22, x1
	mov	w8, #1
	lsl	w8, w8, w1
	mov	w9, #584
	tst	w8, w9
	b.eq	LBB0_6
; %bb.2:
	mov	x21, x2
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #40
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.3:
	mov	x20, x0
	str	x0, [x19, #24]
	add	x0, x0, #36
Lloh3:
	adrp	x8, _handle_delayed_timer@GOTPAGE
Lloh4:
	ldr	x8, [x8, _handle_delayed_timer@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
	add	x0, x20, #32
Lloh6:
	adrp	x8, _flush_expired_bios@GOTPAGE
Lloh7:
	ldr	x8, [x8, _flush_expired_bios@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x20, #28
	bl	_INIT_LIST_HEAD
	add	x0, x20, #24
	bl	_mutex_init
	add	x0, x20, #20
	mov	w1, #1
	bl	_atomic_set
	mov	x1, x20
	str	w22, [x1], #16
	mov	x0, x19
	mov	x2, x21
	bl	_delay_class_ctr
	mov	x23, x0
	cbz	w0, LBB0_9
LBB0_4:
	mov	x0, x19
	bl	_delay_dtr
	b	LBB0_8
LBB0_5:
Lloh9:
	adrp	x8, l_.str.1@PAGE
Lloh10:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [x19]
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh13:
	adrp	x8, l_.str@PAGE
Lloh14:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x19]
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_8:
	mov	x0, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_9:
	add	x1, x20, #12
	cmp	w22, #3
	b.ne	LBB0_12
; %bb.10:
	mov	x0, x19
	mov	x2, x21
	bl	_delay_class_ctr
	mov	x23, x0
	cbnz	w0, LBB0_4
; %bb.11:
	add	x1, x20, #8
	mov	x0, x19
	mov	x2, x21
	b	LBB0_16
LBB0_12:
	add	x24, x21, #24
	mov	x0, x19
	mov	x2, x24
	bl	_delay_class_ctr
	mov	x23, x0
	cbnz	w0, LBB0_4
; %bb.13:
	add	x1, x20, #8
	cmp	w22, #6
	b.ne	LBB0_15
; %bb.14:
	mov	x0, x19
	mov	x2, x24
	b	LBB0_16
LBB0_15:
	add	x2, x21, #48
	mov	x0, x19
LBB0_16:
	bl	_delay_class_ctr
	mov	x23, x0
	cbnz	w0, LBB0_4
; %bb.17:
Lloh17:
	adrp	x8, _WQ_MEM_RECLAIM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _WQ_MEM_RECLAIM@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x0, l_.str.2@PAGE
Lloh21:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w2, #0
	bl	_alloc_workqueue
	str	w0, [x20, #4]
	cbz	w0, LBB0_19
; %bb.18:
	mov	w23, #0
	movi.2s	v0, #1
	str	d0, [x19, #8]
	mov	w8, #4
	str	w8, [x19, #16]
	b	LBB0_8
LBB0_19:
Lloh22:
	adrp	x8, _EINVAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w23, w8
Lloh25:
	adrp	x0, l_.str.3@PAGE
Lloh26:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DMERR
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Requires exactly 3, 6 or 9 arguments"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.1:                               ; @.str.1
	.asciz	"Cannot allocate context"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_handle_delayed_timer,4,2       ; @handle_delayed_timer
	.comm	_flush_expired_bios,4,2         ; @flush_expired_bios
l_.str.2:                               ; @.str.2
	.asciz	"kdelayd"

	.comm	_WQ_MEM_RECLAIM,4,2             ; @WQ_MEM_RECLAIM
l_.str.3:                               ; @.str.3
	.asciz	"Couldn't start kdelayd"

	.no_dead_strip	_delay_ctr
.subsections_via_symbols
