	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ib_cache_event
_ib_cache_event:                        ## @ib_cache_event
	.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
	movq	%rsi, %r14
	movq	(%rsi), %rax
	movq	_IB_EVENT_PORT_ERR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.1:
	movq	_IB_EVENT_PORT_ACTIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.2:
	movq	_IB_EVENT_LID_CHANGE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.3:
	movq	_IB_EVENT_PKEY_CHANGE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.4:
	movq	_IB_EVENT_SM_CHANGE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.5:
	movq	_IB_EVENT_CLIENT_REREGISTER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.6:
	movq	_IB_EVENT_GID_CHANGE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
LBB0_7:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$12, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, %rbx
	movq	_ib_cache_task@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_INIT_WORK
	movl	12(%r14), %eax
	movl	%eax, 8(%rbx)
	movl	8(%r14), %eax
	movl	%eax, 4(%rbx)
	movq	_ib_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_queue_work                     ## TAILCALL
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_EVENT_PORT_ERR,8,3          ## @IB_EVENT_PORT_ERR
	.comm	_IB_EVENT_PORT_ACTIVE,8,3       ## @IB_EVENT_PORT_ACTIVE
	.comm	_IB_EVENT_LID_CHANGE,8,3        ## @IB_EVENT_LID_CHANGE
	.comm	_IB_EVENT_PKEY_CHANGE,8,3       ## @IB_EVENT_PKEY_CHANGE
	.comm	_IB_EVENT_SM_CHANGE,8,3         ## @IB_EVENT_SM_CHANGE
	.comm	_IB_EVENT_CLIENT_REREGISTER,8,3 ## @IB_EVENT_CLIENT_REREGISTER
	.comm	_IB_EVENT_GID_CHANGE,8,3        ## @IB_EVENT_GID_CHANGE
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ib_cache_task,4,2              ## @ib_cache_task
	.comm	_ib_wq,4,2                      ## @ib_wq
	.no_dead_strip	_ib_cache_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ib_cache_event
_ib_cache_event:                        ; @ib_cache_event
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _IB_EVENT_PORT_ERR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_EVENT_PORT_ERR@GOTPAGEOFF]
Lloh2:
	adrp	x10, _IB_EVENT_PORT_ACTIVE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _IB_EVENT_PORT_ACTIVE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _IB_EVENT_LID_CHANGE@GOTPAGE
Lloh7:
	ldr	x11, [x11, _IB_EVENT_LID_CHANGE@GOTPAGEOFF]
Lloh8:
	adrp	x12, _IB_EVENT_PKEY_CHANGE@GOTPAGE
Lloh9:
	ldr	x12, [x12, _IB_EVENT_PKEY_CHANGE@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x11]
Lloh11:
	ldr	x12, [x12]
Lloh12:
	adrp	x13, _IB_EVENT_SM_CHANGE@GOTPAGE
Lloh13:
	ldr	x13, [x13, _IB_EVENT_SM_CHANGE@GOTPAGEOFF]
Lloh14:
	adrp	x14, _IB_EVENT_CLIENT_REREGISTER@GOTPAGE
Lloh15:
	ldr	x14, [x14, _IB_EVENT_CLIENT_REREGISTER@GOTPAGEOFF]
Lloh16:
	ldr	x13, [x13]
Lloh17:
	ldr	x14, [x14]
Lloh18:
	adrp	x15, _IB_EVENT_GID_CHANGE@GOTPAGE
Lloh19:
	ldr	x15, [x15, _IB_EVENT_GID_CHANGE@GOTPAGEOFF]
Lloh20:
	ldr	x15, [x15]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	ccmp	x8, x12, #4, ne
	ccmp	x8, x13, #4, ne
	ccmp	x8, x14, #4, ne
	ccmp	x8, x15, #4, ne
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x1
Lloh21:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	w0, #12
	bl	_kmalloc
	cbz	x0, LBB0_3
; %bb.2:
	mov	x20, x0
Lloh24:
	adrp	x8, _ib_cache_task@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ib_cache_task@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	bl	_INIT_WORK
	ldr	d0, [x19, #8]
	stur	d0, [x20, #4]
Lloh27:
	adrp	x8, _ib_wq@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ib_wq@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_queue_work
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_EVENT_PORT_ERR,8,3          ; @IB_EVENT_PORT_ERR
	.comm	_IB_EVENT_PORT_ACTIVE,8,3       ; @IB_EVENT_PORT_ACTIVE
	.comm	_IB_EVENT_LID_CHANGE,8,3        ; @IB_EVENT_LID_CHANGE
	.comm	_IB_EVENT_PKEY_CHANGE,8,3       ; @IB_EVENT_PKEY_CHANGE
	.comm	_IB_EVENT_SM_CHANGE,8,3         ; @IB_EVENT_SM_CHANGE
	.comm	_IB_EVENT_CLIENT_REREGISTER,8,3 ; @IB_EVENT_CLIENT_REREGISTER
	.comm	_IB_EVENT_GID_CHANGE,8,3        ; @IB_EVENT_GID_CHANGE
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ib_cache_task,4,2              ; @ib_cache_task
	.comm	_ib_wq,4,2                      ; @ib_wq
	.no_dead_strip	_ib_cache_event
.subsections_via_symbols
