	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_en_put_qp
_mlx4_en_put_qp:                        ## @mlx4_en_put_qp
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %rax
	movq	(%rax), %r14
	movq	(%r14), %rax
	movq	_MLX4_STEERING_MODE_A0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	callq	_mlx4_mac_to_u64
	movl	%eax, %r15d
	movq	_DRV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%rbx), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_en_dbg
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlx4_unregister_mac            ## TAILCALL
LBB0_1:
	movq	_DRV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %r15d
	movl	8(%rbx), %ecx
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rsi
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_en_dbg
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	$1, %edx
	callq	_mlx4_qp_release_range
	movq	_MLX4_EN_FLAG_FORCE_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 4(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_STEERING_MODE_A0,8,3      ## @MLX4_STEERING_MODE_A0
	.comm	_DRV,4,2                        ## @DRV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Registering MAC: %pM for deleting\n"

L_.str.1:                               ## @.str.1
	.asciz	"Releasing qp: port %d, qpn %d\n"

	.comm	_MLX4_EN_FLAG_FORCE_PROMISC,4,2 ## @MLX4_EN_FLAG_FORCE_PROMISC
	.no_dead_strip	_mlx4_en_put_qp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_en_put_qp
_mlx4_en_put_qp:                        ; @mlx4_en_put_qp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	ldr	x8, [x0, #24]
	ldr	x20, [x8]
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _MLX4_STEERING_MODE_A0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MLX4_STEERING_MODE_A0@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	bl	_mlx4_mac_to_u64
	mov	x21, x0
Lloh3:
	adrp	x8, _DRV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DRV@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	x8, [x19, #16]
	ldr	w3, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x19
	bl	_en_dbg
	ldr	w1, [x19, #8]
	mov	x0, x20
	mov	x2, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_mlx4_unregister_mac
LBB0_2:
	ldr	w21, [x19]
Lloh8:
	adrp	x8, _DRV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DRV@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	w3, [x19, #8]
	str	x21, [sp]
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_en_dbg
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1
	bl	_mlx4_qp_release_range
Lloh13:
	adrp	x8, _MLX4_EN_FLAG_FORCE_PROMISC@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MLX4_EN_FLAG_FORCE_PROMISC@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	bic	w8, w9, w8
	str	w8, [x19, #4]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_STEERING_MODE_A0,8,3      ; @MLX4_STEERING_MODE_A0
	.comm	_DRV,4,2                        ; @DRV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Registering MAC: %pM for deleting\n"

l_.str.1:                               ; @.str.1
	.asciz	"Releasing qp: port %d, qpn %d\n"

	.comm	_MLX4_EN_FLAG_FORCE_PROMISC,4,2 ; @MLX4_EN_FLAG_FORCE_PROMISC
	.no_dead_strip	_mlx4_en_put_qp
.subsections_via_symbols
