	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_opfn_init                      ## -- Begin function opfn_init
	.p2align	4, 0x90
_opfn_init:                             ## @opfn_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_WQ_SYSFS@GOTPCREL(%rip), %rax
	movq	_WQ_HIGHPRI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_WQ_CPU_INTENSIVE@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_WQ_MEM_RECLAIM@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_HFI1_MAX_ACTIVE_WORKQUEUE_ENTRIES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rdi
	callq	_alloc_workqueue
	movq	_opfn_wq@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_ENOMEM@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	subl	(%rdx), %ecx
	xorl	%edx, %edx
	testl	%eax, %eax
	cmovnel	%edx, %ecx
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hfi_opfn"

	.comm	_WQ_SYSFS,4,2                   ## @WQ_SYSFS
	.comm	_WQ_HIGHPRI,4,2                 ## @WQ_HIGHPRI
	.comm	_WQ_CPU_INTENSIVE,4,2           ## @WQ_CPU_INTENSIVE
	.comm	_WQ_MEM_RECLAIM,4,2             ## @WQ_MEM_RECLAIM
	.comm	_HFI1_MAX_ACTIVE_WORKQUEUE_ENTRIES,4,2 ## @HFI1_MAX_ACTIVE_WORKQUEUE_ENTRIES
	.comm	_opfn_wq,4,2                    ## @opfn_wq
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_opfn_init                      ; -- Begin function opfn_init
	.p2align	2
_opfn_init:                             ; @opfn_init
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _WQ_SYSFS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WQ_SYSFS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _WQ_HIGHPRI@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WQ_HIGHPRI@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _WQ_CPU_INTENSIVE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WQ_CPU_INTENSIVE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _WQ_MEM_RECLAIM@GOTPAGE
Lloh10:
	ldr	x10, [x10, _WQ_MEM_RECLAIM@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh11:
	ldr	w9, [x10]
	orr	w1, w8, w9
Lloh12:
	adrp	x8, _HFI1_MAX_ACTIVE_WORKQUEUE_ENTRIES@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HFI1_MAX_ACTIVE_WORKQUEUE_ENTRIES@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_alloc_workqueue
Lloh17:
	adrp	x8, _opfn_wq@GOTPAGE
Lloh18:
	ldr	x8, [x8, _opfn_wq@GOTPAGEOFF]
Lloh19:
	str	w0, [x8]
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w0, #0
	csneg	w0, wzr, w8, ne
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hfi_opfn"

	.comm	_WQ_SYSFS,4,2                   ; @WQ_SYSFS
	.comm	_WQ_HIGHPRI,4,2                 ; @WQ_HIGHPRI
	.comm	_WQ_CPU_INTENSIVE,4,2           ; @WQ_CPU_INTENSIVE
	.comm	_WQ_MEM_RECLAIM,4,2             ; @WQ_MEM_RECLAIM
	.comm	_HFI1_MAX_ACTIVE_WORKQUEUE_ENTRIES,4,2 ; @HFI1_MAX_ACTIVE_WORKQUEUE_ENTRIES
	.comm	_opfn_wq,4,2                    ; @opfn_wq
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
