	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoib_dev_addr_changed_valid
_ipoib_dev_addr_changed_valid:          ## @ipoib_dev_addr_changed_valid
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rsi
	movq	8(%rdi), %rax
	movq	(%rax), %r15
	movl	36(%rdi), %edi
	xorl	%r14d, %r14d
	leaq	-88(%rbp), %rcx
	xorl	%edx, %edx
	callq	_rdma_query_gid
	testq	%rax, %rax
	jne	LBB0_14
## %bb.1:
	movq	8(%rbx), %rdi
	callq	_netif_addr_lock_bh
	movl	-80(%rbp), %eax
	movl	%eax, 24(%rbx)
	movl	%eax, 72(%r15)
	movl	%eax, -64(%rbp)
	movq	16(%rbx), %rax
	movq	%rax, -72(%rbp)
	movq	8(%rbx), %rdi
	callq	_netif_addr_unlock_bh
	movl	36(%rbx), %edi
	leaq	-72(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	callq	_ib_find_gid
	movl	%eax, %r12d
	movq	8(%rbx), %rdi
	callq	_netif_addr_lock_bh
	movq	-72(%rbp), %rax
	xorl	%r14d, %r14d
	cmpq	16(%rbx), %rax
	jne	LBB0_13
## %bb.2:
	movq	_IPOIB_FLAG_DEV_ADDR_SET@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	32(%rbx), %r15
	movq	%r15, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_3
## %bb.8:
	testl	%r12d, %r12d
	jne	LBB0_10
## %bb.9:
	movq	-48(%rbp), %rax
	movl	$1, %r14d
	cmpq	(%rbx), %rax
	je	LBB0_13
LBB0_10:
	movq	_IPOIB_FLAG_DEV_ADDR_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	movl	$0, %r14d
	testl	%eax, %eax
	jne	LBB0_13
## %bb.11:
	leaq	16(%rbx), %rdi
	leaq	-88(%rbp), %r14
	movq	%r14, %rsi
	movl	$16, %edx
	callq	_memcpy
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	addq	$64, %rdi
	movq	%r14, %rsi
	movl	$16, %edx
	callq	_memcpy
LBB0_12:
	movl	$1, %r14d
	jmp	LBB0_13
LBB0_3:
	testl	%r12d, %r12d
	jne	LBB0_13
## %bb.4:
	movq	-48(%rbp), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_13
## %bb.5:
	movl	(%r13), %edi
	movq	%r15, %rsi
	callq	_set_bit
	cmpq	$0, -56(%rbp)
	movq	_IPOIB_FLAG_DEV_ADDR_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	je	LBB0_6
## %bb.7:
	callq	_set_bit
	jmp	LBB0_12
LBB0_13:
	movq	8(%rbx), %rdi
	callq	_netif_addr_unlock_bh
LBB0_14:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	_clear_bit
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_IPOIB_FLAG_DEV_ADDR_SET,4,2    ## @IPOIB_FLAG_DEV_ADDR_SET
	.comm	_IPOIB_FLAG_DEV_ADDR_CTRL,4,2   ## @IPOIB_FLAG_DEV_ADDR_CTRL
	.no_dead_strip	_ipoib_dev_addr_changed_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipoib_dev_addr_changed_valid
_ipoib_dev_addr_changed_valid:          ; @ipoib_dev_addr_changed_valid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x0
	ldp	x1, x8, [x0]
	ldr	x21, [x8]
	ldr	w0, [x0, #36]
	add	x3, sp, #16
	mov	w2, #0
	bl	_rdma_query_gid
	mov	w20, #0
	cbnz	x0, LBB0_14
; %bb.1:
	ldr	x0, [x19, #8]
	bl	_netif_addr_lock_bh
	ldr	w8, [sp, #24]
	str	w8, [x19, #24]
	str	w8, [x21, #72]
	mov	x20, x19
	ldr	x9, [x20, #16]!
	str	w8, [sp, #40]
	str	x9, [sp, #32]
	ldr	x0, [x19, #8]
	bl	_netif_addr_unlock_bh
	ldr	w0, [x20, #20]
	add	x1, sp, #32
	mov	x2, sp
	add	x3, sp, #8
	bl	_ib_find_gid
	mov	x22, x0
	ldr	x0, [x19, #8]
	bl	_netif_addr_lock_bh
	ldr	x8, [sp, #32]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.2:
Lloh0:
	adrp	x23, _IPOIB_FLAG_DEV_ADDR_SET@GOTPAGE
Lloh1:
	ldr	x23, [x23, _IPOIB_FLAG_DEV_ADDR_SET@GOTPAGEOFF]
	ldr	w0, [x23]
	add	x21, x19, #32
	mov	x1, x21
	bl	_test_bit
	cbz	w0, LBB0_8
; %bb.3:
	cbnz	w22, LBB0_5
; %bb.4:
	ldr	x8, [sp]
	ldr	x9, [x19]
	cmp	x8, x9
	b.eq	LBB0_7
LBB0_5:
Lloh2:
	adrp	x8, _IPOIB_FLAG_DEV_ADDR_CTRL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IPOIB_FLAG_DEV_ADDR_CTRL@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbnz	w0, LBB0_12
; %bb.6:
	add	x1, sp, #16
	mov	x0, x20
	mov	w2, #16
	bl	_memcpy
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	add	x0, x8, #64
	add	x1, sp, #16
	mov	w2, #16
	bl	_memcpy
LBB0_7:
	mov	w20, #1
	b	LBB0_13
LBB0_8:
	cbnz	w22, LBB0_12
; %bb.9:
	ldr	x8, [sp]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.10:
	ldr	w0, [x23]
	mov	x1, x21
	bl	_set_bit
	ldr	x8, [sp, #8]
Lloh5:
	adrp	x9, _IPOIB_FLAG_DEV_ADDR_CTRL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IPOIB_FLAG_DEV_ADDR_CTRL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x9]
	mov	x1, x21
	cbz	x8, LBB0_15
; %bb.11:
	bl	_set_bit
	b	LBB0_7
LBB0_12:
	mov	w20, #0
LBB0_13:
	ldr	x0, [x19, #8]
	bl	_netif_addr_unlock_bh
LBB0_14:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_15:
	bl	_clear_bit
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IPOIB_FLAG_DEV_ADDR_SET,4,2    ; @IPOIB_FLAG_DEV_ADDR_SET
	.comm	_IPOIB_FLAG_DEV_ADDR_CTRL,4,2   ; @IPOIB_FLAG_DEV_ADDR_CTRL
	.no_dead_strip	_ipoib_dev_addr_changed_valid
.subsections_via_symbols
