	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipoib_pkey_dev_delay_open      ## -- Begin function ipoib_pkey_dev_delay_open
	.p2align	4, 0x90
_ipoib_pkey_dev_delay_open:             ## @ipoib_pkey_dev_delay_open
	.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	%rdi, %rbx
	callq	_ipoib_pkey_dev_check_presence
	movq	_IPOIB_PKEY_ASSIGNED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%rbx), %r14
	movq	%r14, %rsi
	callq	_test_bit
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jne	LBB0_2
## %bb.1:
	movq	_pkey_mutex@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_mutex_lock
	movq	_IPOIB_PKEY_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_clear_bit
	movq	_ipoib_workqueue@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_queue_delayed_work
	movq	%r15, %rdi
	callq	_mutex_unlock
	movl	$1, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPOIB_PKEY_ASSIGNED,4,2        ## @IPOIB_PKEY_ASSIGNED
	.comm	_pkey_mutex,4,2                 ## @pkey_mutex
	.comm	_IPOIB_PKEY_STOP,4,2            ## @IPOIB_PKEY_STOP
	.comm	_ipoib_workqueue,4,2            ## @ipoib_workqueue
	.comm	_HZ,4,2                         ## @HZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipoib_pkey_dev_delay_open      ; -- Begin function ipoib_pkey_dev_delay_open
	.p2align	2
_ipoib_pkey_dev_delay_open:             ; @ipoib_pkey_dev_delay_open
	.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
	bl	_ipoib_pkey_dev_check_presence
Lloh0:
	adrp	x8, _IPOIB_PKEY_ASSIGNED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPOIB_PKEY_ASSIGNED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x20, x19, #4
	mov	x1, x20
	bl	_test_bit
	cbz	w0, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x21, _pkey_mutex@GOTPAGE
Lloh4:
	ldr	x21, [x21, _pkey_mutex@GOTPAGEOFF]
	mov	x0, x21
	bl	_mutex_lock
Lloh5:
	adrp	x8, _IPOIB_PKEY_STOP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IPOIB_PKEY_STOP@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_clear_bit
Lloh8:
	adrp	x8, _ipoib_workqueue@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ipoib_workqueue@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _HZ@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_queue_delayed_work
	mov	x0, x21
	bl	_mutex_unlock
	mov	w0, #1
LBB0_3:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IPOIB_PKEY_ASSIGNED,4,2        ; @IPOIB_PKEY_ASSIGNED
	.comm	_pkey_mutex,4,2                 ; @pkey_mutex
	.comm	_IPOIB_PKEY_STOP,4,2            ; @IPOIB_PKEY_STOP
	.comm	_ipoib_workqueue,4,2            ; @ipoib_workqueue
	.comm	_HZ,4,2                         ; @HZ
.subsections_via_symbols
