	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40iw_send_cm_event
_i40iw_send_cm_event:                   ## @i40iw_send_cm_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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	-72(%rbp), %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movl	%ebx, -72(%rbp)
	movl	%r12d, -68(%rbp)
	leal	-128(%rbx), %eax
	cmpl	$4, %eax
	ja	LBB0_7
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	movl	4(%r15), %eax
	movl	%eax, -60(%rbp)
	movl	(%r15), %eax
	movl	%eax, -64(%rbp)
	jmp	LBB0_9
LBB0_7:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_i40iw_pr_err
	movl	$-1, %eax
	jmp	LBB0_10
LBB0_2:
	cmpl	$0, 24(%r15)
	je	LBB0_4
## %bb.3:
	leaq	-72(%rbp), %rsi
	movq	%r15, %rdi
	callq	_i40iw_fill_sockaddr4
	jmp	LBB0_5
LBB0_8:
	leaq	-72(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_i40iw_get_cmevent_info
	jmp	LBB0_9
LBB0_4:
	leaq	-72(%rbp), %rsi
	movq	%r15, %rdi
	callq	_i40iw_fill_sockaddr6
LBB0_5:
	movq	%r15, -40(%rbp)
	movq	16(%r15), %rax
	movq	%rax, -48(%rbp)
	movl	8(%r15), %eax
	movl	%eax, -56(%rbp)
	movl	4(%r15), %eax
	movl	%eax, -60(%rbp)
LBB0_9:
	leaq	-72(%rbp), %rsi
	movq	%r14, %rdi
	callq	*(%r14)
LBB0_10:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_2
	.long	L0_0_set_8
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"event type received type = %d\n"

	.no_dead_strip	_i40iw_send_cm_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40iw_send_cm_event
_i40iw_send_cm_event:                   ; @i40iw_send_cm_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	stp	w21, w22, [sp, #8]
	sub	w8, w21, #128
	cmp	w8, #4
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	d0, [x20]
	str	d0, [sp, #16]
	b	LBB0_9
LBB0_3:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_i40iw_pr_err
	mov	w0, #-1
	b	LBB0_10
LBB0_4:
	ldr	w8, [x20, #24]
	cbz	w8, LBB0_7
; %bb.5:
	add	x1, sp, #8
	mov	x0, x20
	bl	_i40iw_fill_sockaddr4
	b	LBB0_8
LBB0_6:
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_i40iw_get_cmevent_info
	b	LBB0_9
LBB0_7:
	add	x1, sp, #8
	mov	x0, x20
	bl	_i40iw_fill_sockaddr6
LBB0_8:
	ldr	x8, [x20, #16]
	stp	x8, x20, [sp, #32]
	ldur	d0, [x20, #4]
	stur	d0, [sp, #20]
LBB0_9:
	ldr	x8, [x19]
	add	x1, sp, #8
	mov	x0, x19
	blr	x8
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"event type received type = %d\n"

	.no_dead_strip	_i40iw_send_cm_event
.subsections_via_symbols
