	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_82xx_nic_set_promisc    ## -- Begin function qlcnic_82xx_nic_set_promisc
	.p2align	4, 0x90
_qlcnic_82xx_nic_set_promisc:           ## @qlcnic_82xx_nic_set_promisc
	.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
	movl	%esi, %r15d
	movq	%rdi, %rbx
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_QLCNIC_HOST_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$23, %edi
	callq	_cpu_to_le64
	movq	%rax, -32(%rbp)
	movq	_QLCNIC_H2C_OPCODE_SET_MAC_RECEIVE_MODE@GOTPCREL(%rip), %rax
	movl	(%rbx), %edi
	shll	$16, %edi
	orl	(%rax), %edi
	callq	_cpu_to_le64
	movq	%rax, -40(%rbp)
	movl	%r15d, %edi
	callq	_cpu_to_le64
	movq	-48(%rbp), %rcx
	movq	%rax, (%rcx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_qlcnic_send_cmd_descs
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_HOST_REQUEST,4,2        ## @QLCNIC_HOST_REQUEST
	.comm	_QLCNIC_H2C_OPCODE_SET_MAC_RECEIVE_MODE,4,2 ## @QLCNIC_H2C_OPCODE_SET_MAC_RECEIVE_MODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_82xx_nic_set_promisc    ; -- Begin function qlcnic_82xx_nic_set_promisc
	.p2align	2
_qlcnic_82xx_nic_set_promisc:           ; @qlcnic_82xx_nic_set_promisc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh0:
	adrp	x8, _QLCNIC_HOST_REQUEST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_HOST_REQUEST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w0, w8, #23
	bl	_cpu_to_le64
	str	x0, [sp, #24]
Lloh3:
	adrp	x8, _QLCNIC_H2C_OPCODE_SET_MAC_RECEIVE_MODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QLCNIC_H2C_OPCODE_SET_MAC_RECEIVE_MODE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w0, w8, w9, lsl #16
	bl	_cpu_to_le64
	str	x0, [sp, #16]
	mov	x0, x19
	bl	_cpu_to_le64
	ldr	x8, [sp, #8]
	str	x0, [x8]
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #1
	bl	_qlcnic_send_cmd_descs
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_HOST_REQUEST,4,2        ; @QLCNIC_HOST_REQUEST
	.comm	_QLCNIC_H2C_OPCODE_SET_MAC_RECEIVE_MODE,4,2 ; @QLCNIC_H2C_OPCODE_SET_MAC_RECEIVE_MODE
.subsections_via_symbols
