	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qedr_mac_address_change
_qedr_mac_address_change:               ## @qedr_mac_address_change
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	32(%rdi), %r14
	movq	8(%rdi), %rax
	movl	(%rax), %esi
	leaq	-96(%rbp), %rdi
	callq	_ether_addr_copy
	movl	-96(%rbp), %eax
	xorl	$2, %eax
	movl	%eax, -64(%rbp)
	movq	-92(%rbp), %rax
	movq	%rax, -60(%rbp)
	movabsq	$1090921693439, %rax            ## imm = 0xFE000000FF
	movq	%rax, -52(%rbp)
	movl	-84(%rbp), %eax
	movl	%eax, -44(%rbp)
	movq	-80(%rbp), %rax
	movq	%rax, -40(%rbp)
	xorl	%edi, %edi
	callq	_cpu_to_be64
	movl	%eax, (%r14)
	movq	(%r14), %rdi
	addq	$32, %rdi
	leaq	-64(%rbp), %rsi
	movl	$32, %edx
	callq	_memcpy
	movq	24(%rbx), %rax
	movl	16(%rbx), %edi
	movq	(%rbx), %rsi
	movq	8(%rbx), %rcx
	movl	(%rcx), %edx
	callq	*(%rax)
	movl	%eax, %r14d
	movq	(%rbx), %rdi
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	callq	_ether_addr_copy
	movq	_QEDR_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IB_EVENT_GID_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_qedr_ib_dispatch_event
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_DP_ERR
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$80, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_QEDR_PORT,4,2                  ## @QEDR_PORT
	.comm	_IB_EVENT_GID_CHANGE,4,2        ## @IB_EVENT_GID_CHANGE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error updating mac filter\n"

	.no_dead_strip	_qedr_mac_address_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function qedr_mac_address_change
lCPI0_0:
	.long	255                             ; 0xff
	.long	254                             ; 0xfe
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_qedr_mac_address_change:               ; @qedr_mac_address_change
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	ldr	x20, [x0, #32]
	ldr	x8, [x0, #8]
	ldr	w1, [x8]
	mov	x0, sp
	bl	_ether_addr_copy
	ldr	w8, [sp]
	eor	w8, w8, #0x2
	str	w8, [sp, #24]
	ldur	d0, [sp, #4]
	stur	d0, [sp, #28]
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [sp, #36]
	ldur	d0, [sp, #12]
	stur	d0, [sp, #44]
	ldr	w8, [sp, #20]
	str	w8, [sp, #52]
	mov	w0, #0
	bl	_cpu_to_be64
	str	w0, [x20]
	ldr	x8, [x20]
	add	x0, x8, #32
	add	x1, sp, #24
	mov	w2, #32
	bl	_memcpy
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	ldr	w0, [x19, #16]
	ldp	x1, x9, [x19]
	ldr	w2, [x9]
	blr	x8
	mov	x20, x0
	ldp	x0, x8, [x19]
	ldr	w1, [x8]
	bl	_ether_addr_copy
Lloh5:
	adrp	x8, _QEDR_PORT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _QEDR_PORT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _IB_EVENT_GID_CHANGE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IB_EVENT_GID_CHANGE@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_qedr_ib_dispatch_event
	cbz	w20, LBB0_2
; %bb.1:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_DP_ERR
LBB0_2:
	ldur	x8, [x29, #-24]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_QEDR_PORT,4,2                  ; @QEDR_PORT
	.comm	_IB_EVENT_GID_CHANGE,4,2        ; @IB_EVENT_GID_CHANGE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error updating mac filter\n"

	.no_dead_strip	_qedr_mac_address_change
.subsections_via_symbols
