	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ib_ucm_event_handler
_ib_ucm_event_handler:                  ## @ib_ucm_event_handler
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$40, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movq	%r12, 32(%rax)
	movq	%r15, 24(%rax)
	movl	16(%r12), %eax
	movl	%eax, 16(%rbx)
	movl	12(%r12), %eax
	movl	%eax, 12(%rbx)
	movl	(%r14), %eax
	movl	%eax, 8(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ib_ucm_event_process
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_3:
	movl	(%r14), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ib_ucm_new_cm_id               ## TAILCALL
LBB0_4:
	movq	(%r12), %rdi
	callq	_mutex_lock
	movq	%rbx, %rdi
	addq	$4, %rdi
	movq	(%r12), %rsi
	addq	$8, %rsi
	callq	_list_add_tail
	leaq	8(%r12), %rsi
	movq	%rbx, %rdi
	callq	_list_add_tail
	movq	(%r12), %rdi
	addq	$4, %rdi
	callq	_wake_up_interruptible
	movq	(%r12), %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.no_dead_strip	_ib_ucm_event_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ib_ucm_event_handler
_ib_ucm_event_handler:                  ; @ib_ucm_event_handler
	.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	x20, x1
	mov	x21, x0
	ldr	x22, [x0]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #40
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	stp	x21, x22, [x0, #24]
	ldur	d0, [x22, #12]
	stur	d0, [x0, #12]
	ldr	w8, [x20]
	str	w8, [x0, #8]
	mov	x0, x20
	mov	x1, x19
	bl	_ib_ucm_event_process
	cbz	w0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_kfree
LBB0_3:
	ldr	w0, [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
	b	_ib_ucm_new_cm_id
LBB0_4:
	ldr	x0, [x22]
	bl	_mutex_lock
	add	x0, x19, #4
	ldr	x8, [x22]
	add	x1, x8, #8
	bl	_list_add_tail
	add	x1, x22, #8
	mov	x0, x19
	bl	_list_add_tail
	ldr	x8, [x22]
	add	x0, x8, #4
	bl	_wake_up_interruptible
	ldr	x0, [x22]
	bl	_mutex_unlock
	mov	w0, #0
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.no_dead_strip	_ib_ucm_event_handler
.subsections_via_symbols
