	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_hwrm_alloc_wol_fltr       ## -- Begin function bnxt_hwrm_alloc_wol_fltr
	.p2align	4, 0x90
_bnxt_hwrm_alloc_wol_fltr:              ## @bnxt_hwrm_alloc_wol_fltr
	.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	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	movl	$0, -32(%rbp)
	movq	24(%rdi), %r15
	movq	_HWRM_WOL_FILTER_ALLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %r14
	movq	%r14, %rsi
	movl	$-1, %ecx
	movl	$-1, %r8d
	callq	_bnxt_hwrm_cmd_hdr_init
	movl	16(%rbx), %edi
	callq	_cpu_to_le16
	movl	%eax, -36(%rbp)
	movq	_WOL_FILTER_ALLOC_REQ_WOL_TYPE_MAGICPKT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	_WOL_FILTER_ALLOC_REQ_ENABLES_MAC_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movl	%eax, -44(%rbp)
	movl	-48(%rbp), %edi
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	_HWRM_CMD_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$20, %edx
	callq	__hwrm_send_message
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	(%r15), %eax
	movl	%eax, 4(%rbx)
LBB0_2:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HWRM_WOL_FILTER_ALLOC,4,2      ## @HWRM_WOL_FILTER_ALLOC
	.comm	_WOL_FILTER_ALLOC_REQ_WOL_TYPE_MAGICPKT,4,2 ## @WOL_FILTER_ALLOC_REQ_WOL_TYPE_MAGICPKT
	.comm	_WOL_FILTER_ALLOC_REQ_ENABLES_MAC_ADDRESS,4,2 ## @WOL_FILTER_ALLOC_REQ_ENABLES_MAC_ADDRESS
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_HWRM_CMD_TIMEOUT,4,2           ## @HWRM_CMD_TIMEOUT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_hwrm_alloc_wol_fltr       ; -- Begin function bnxt_hwrm_alloc_wol_fltr
	.p2align	2
_bnxt_hwrm_alloc_wol_fltr:              ; @bnxt_hwrm_alloc_wol_fltr
	.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	x19, x0
	stp	xzr, xzr, [sp, #8]
	str	wzr, [sp, #24]
	ldr	x21, [x0, #24]
Lloh0:
	adrp	x8, _HWRM_WOL_FILTER_ALLOC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HWRM_WOL_FILTER_ALLOC@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	w3, #-1
	mov	w4, #-1
	bl	_bnxt_hwrm_cmd_hdr_init
	ldr	w0, [x19, #16]
	bl	_cpu_to_le16
Lloh3:
	adrp	x8, _WOL_FILTER_ALLOC_REQ_WOL_TYPE_MAGICPKT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WOL_FILTER_ALLOC_REQ_WOL_TYPE_MAGICPKT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stp	w8, w0, [sp, #16]
Lloh6:
	adrp	x8, _WOL_FILTER_ALLOC_REQ_ENABLES_MAC_ADDRESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WOL_FILTER_ALLOC_REQ_ENABLES_MAC_ADDRESS@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	str	w0, [sp, #12]
	ldr	w0, [sp, #8]
	ldr	x8, [x19, #8]
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	bl	_memcpy
	mov	x0, x19
	bl	_mutex_lock
Lloh12:
	adrp	x8, _HWRM_CMD_TIMEOUT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HWRM_CMD_TIMEOUT@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #20
	bl	__hwrm_send_message
	mov	x20, x0
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w8, [x21]
	str	w8, [x19, #4]
LBB0_2:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HWRM_WOL_FILTER_ALLOC,4,2      ; @HWRM_WOL_FILTER_ALLOC
	.comm	_WOL_FILTER_ALLOC_REQ_WOL_TYPE_MAGICPKT,4,2 ; @WOL_FILTER_ALLOC_REQ_WOL_TYPE_MAGICPKT
	.comm	_WOL_FILTER_ALLOC_REQ_ENABLES_MAC_ADDRESS,4,2 ; @WOL_FILTER_ALLOC_REQ_ENABLES_MAC_ADDRESS
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_HWRM_CMD_TIMEOUT,4,2           ; @HWRM_CMD_TIMEOUT
.subsections_via_symbols
