	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usnic_ib_handle_inet_event
_usnic_ib_handle_inet_event:            ## @usnic_ib_handle_inet_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_mutex_lock
	cmpq	$128, %rbx
	je	LBB0_3
## %bb.1:
	cmpq	$129, %rbx
	jne	LBB0_5
## %bb.2:
	movl	$129, %edi
	callq	_netdev_cmd_to_name
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_usnic_info
	movq	8(%r14), %rdi
	callq	_usnic_fwd_del_ipaddr
	movq	%r14, %rdi
	callq	_usnic_ib_qp_grp_modify_active_to_err
	jmp	LBB0_4
LBB0_3:
	movq	8(%r14), %rdi
	movl	(%r15), %esi
	callq	_usnic_fwd_add_ipaddr
	movl	$128, %edi
	callq	_netdev_cmd_to_name
	movq	8(%r14), %rdx
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_usnic_info
LBB0_4:
	movq	_IB_EVENT_GID_CHANGE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	4(%r14), %rax
	movq	%rax, -40(%rbp)
	movl	$1, -48(%rbp)
	leaq	-48(%rbp), %rdi
	callq	_ib_dispatch_event
	jmp	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	callq	_netdev_cmd_to_name
	movl	%eax, %ebx
	leaq	4(%r14), %rdi
	callq	_dev_name
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_usnic_info
LBB0_6:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	_NOTIFY_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s via ip notifiers"

	.comm	_IB_EVENT_GID_CHANGE,8,3        ## @IB_EVENT_GID_CHANGE
L_.str.1:                               ## @.str.1
	.asciz	"%s via ip notifiers: ip %pI4"

L_.str.2:                               ## @.str.2
	.asciz	"Ignoring event %s on %s"

	.comm	_NOTIFY_DONE,4,2                ## @NOTIFY_DONE
	.no_dead_strip	_usnic_ib_handle_inet_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usnic_ib_handle_inet_event
_usnic_ib_handle_inet_event:            ; @usnic_ib_handle_inet_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	bl	_mutex_lock
	cmp	x20, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	x20, #129
	b.ne	LBB0_5
; %bb.2:
	mov	w0, #129
	bl	_netdev_cmd_to_name
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_usnic_info
	ldr	x0, [x19, #8]
	bl	_usnic_fwd_del_ipaddr
	mov	x0, x19
	bl	_usnic_ib_qp_grp_modify_active_to_err
	b	LBB0_4
LBB0_3:
	ldr	x0, [x19, #8]
	ldr	w1, [x21]
	bl	_usnic_fwd_add_ipaddr
	mov	w0, #128
	bl	_netdev_cmd_to_name
	mov	x1, x0
	ldr	x8, [x19, #8]
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_usnic_info
LBB0_4:
Lloh4:
	adrp	x8, _IB_EVENT_GID_CHANGE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IB_EVENT_GID_CHANGE@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	add	x9, x19, #4
	stp	x9, x8, [sp, #16]
	mov	w8, #1
	str	w8, [sp, #8]
	add	x0, sp, #8
	bl	_ib_dispatch_event
	b	LBB0_6
LBB0_5:
	mov	x0, x20
	bl	_netdev_cmd_to_name
	mov	x20, x0
	add	x0, x19, #4
	bl	_dev_name
	str	x0, [sp]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_usnic_info
LBB0_6:
	mov	x0, x19
	bl	_mutex_unlock
Lloh9:
	adrp	x8, _NOTIFY_DONE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NOTIFY_DONE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s via ip notifiers"

	.comm	_IB_EVENT_GID_CHANGE,8,3        ; @IB_EVENT_GID_CHANGE
l_.str.1:                               ; @.str.1
	.asciz	"%s via ip notifiers: ip %pI4"

l_.str.2:                               ; @.str.2
	.asciz	"Ignoring event %s on %s"

	.comm	_NOTIFY_DONE,4,2                ; @NOTIFY_DONE
	.no_dead_strip	_usnic_ib_handle_inet_event
.subsections_via_symbols
