	.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	%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	%rsi, %r14
	movq	(%rsi), %rax
	movq	_IB_EVENT_PORT_ERR@GOTPCREL(%rip), %rcx
	movq	_IB_EVENT_PKEY_CHANGE@GOTPCREL(%rip), %r13
	movq	_IB_EVENT_GID_CHANGE@GOTPCREL(%rip), %r12
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.1:
	movq	_IB_EVENT_PORT_ACTIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.2:
	movq	_IB_EVENT_LID_CHANGE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.3:
	cmpq	(%r13), %rax
	je	LBB0_6
## %bb.4:
	movq	_IB_EVENT_CLIENT_REREGISTER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.5:
	cmpq	(%r12), %rax
	jne	LBB0_7
LBB0_6:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %rbx
	movq	%rax, %r15
	addq	$4, %r15
	movq	_ib_cache_task@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_INIT_WORK
	movl	12(%r14), %eax
	movl	%eax, 12(%rbx)
	movl	8(%r14), %eax
	movl	%eax, 8(%rbx)
	movq	(%r14), %rax
	cmpq	(%r13), %rax
	sete	%cl
	cmpq	(%r12), %rax
	sete	%al
	orb	%cl, %al
	movzbl	%al, %eax
	movl	%eax, (%rbx)
	movq	_ib_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_queue_work                     ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	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_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	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
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _IB_EVENT_PORT_ERR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_EVENT_PORT_ERR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _IB_EVENT_PORT_ACTIVE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IB_EVENT_PORT_ACTIVE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _IB_EVENT_LID_CHANGE@GOTPAGE
Lloh7:
	ldr	x11, [x11, _IB_EVENT_LID_CHANGE@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
Lloh9:
	adrp	x22, _IB_EVENT_PKEY_CHANGE@GOTPAGE
Lloh10:
	ldr	x22, [x22, _IB_EVENT_PKEY_CHANGE@GOTPAGEOFF]
	ldr	x12, [x22]
Lloh11:
	adrp	x13, _IB_EVENT_CLIENT_REREGISTER@GOTPAGE
Lloh12:
	ldr	x13, [x13, _IB_EVENT_CLIENT_REREGISTER@GOTPAGEOFF]
Lloh13:
	ldr	x13, [x13]
Lloh14:
	adrp	x23, _IB_EVENT_GID_CHANGE@GOTPAGE
Lloh15:
	ldr	x23, [x23, _IB_EVENT_GID_CHANGE@GOTPAGEOFF]
	ldr	x14, [x23]
	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
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x1
Lloh16:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kmalloc
	cbz	x0, LBB0_3
; %bb.2:
	mov	x20, x0
	add	x21, x0, #4
Lloh19:
	adrp	x8, _ib_cache_task@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ib_cache_task@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_INIT_WORK
	ldr	d0, [x19, #8]
	str	d0, [x20, #8]
	ldr	x8, [x19]
	ldr	x9, [x22]
	cmp	x8, x9
	ldr	x9, [x23]
	ccmp	x8, x9, #4, ne
	cset	w8, eq
	str	w8, [x20]
Lloh22:
	adrp	x8, _ib_wq@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ib_wq@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	mov	x1, x21
	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
	b	_queue_work
LBB0_3:
	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
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.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_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
