	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_create_wq                   ## -- Begin function ib_create_wq
	.p2align	4, 0x90
_ib_create_wq:                          ## @ib_create_wq
	.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	8(%rdi), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%edx, %edx
	callq	*%rax
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movl	16(%r14), %eax
	movl	%eax, 48(%rbx)
	movl	12(%r14), %eax
	movl	%eax, 44(%rbx)
	movl	8(%r14), %eax
	movl	%eax, 40(%rbx)
	movq	(%r14), %rax
	movq	%rax, 32(%rbx)
	movq	8(%r15), %rax
	movq	%rax, 24(%rbx)
	movq	%r15, 16(%rbx)
	movq	$0, 8(%rbx)
	movq	%r15, %rdi
	callq	_atomic_inc
	movq	(%r14), %rdi
	callq	_atomic_inc
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_atomic_set
LBB0_3:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_create_wq                   ; -- Begin function ib_create_wq
	.p2align	2
_ib_create_wq:                          ; @ib_create_wq
	.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
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x19, x1
	mov	x21, x0
	mov	x2, #0
	blr	x8
	mov	x20, x0
	bl	_IS_ERR
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	w8, [x19, #16]
	str	w8, [x20, #48]
	ldr	d0, [x19, #8]
	str	d0, [x20, #40]
	ldr	x8, [x19]
	ldr	x9, [x21, #8]
	stp	x9, x8, [x20, #24]
	stp	xzr, x21, [x20, #8]
	mov	x0, x21
	bl	_atomic_inc
	ldr	x0, [x19]
	bl	_atomic_inc
	mov	x0, x20
	mov	w1, #0
	bl	_atomic_set
LBB0_3:
	mov	x0, 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
LBB0_4:
Lloh0:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	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	_ERR_PTR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
.subsections_via_symbols
