	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_ipsec_init               ## -- Begin function mlx5e_ipsec_init
	.p2align	4, 0x90
_mlx5e_ipsec_init:                      ## @mlx5e_ipsec_init
	.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, %r14
	movl	8(%rdi), %edi
	callq	_MLX5_IPSEC_DEV
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rbx
	movl	24(%rax), %edi
	callq	_hash_init
	leaq	20(%rbx), %rdi
	callq	_spin_lock_init
	movq	%rbx, %rdi
	addq	$16, %rdi
	callq	_ida_init
	movq	%r14, 8(%rbx)
	movq	%rbx, 16(%r14)
	movl	8(%r14), %edi
	callq	_mlx5_accel_ipsec_device_caps
	movq	_MLX5_ACCEL_IPSEC_CAP_RX_NO_TRAILER@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	andl	(%rcx), %eax
	setne	%dl
	movl	%edx, (%rbx)
	movq	(%r14), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_alloc_ordered_workqueue
	movl	%eax, 4(%rbx)
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movq	(%r14), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_netdev_dbg
	jmp	LBB0_7
LBB0_1:
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_dbg
	xorl	%r15d, %r15d
	jmp	LBB0_7
LBB0_5:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Not an IPSec offload device\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MLX5_ACCEL_IPSEC_CAP_RX_NO_TRAILER,4,2 ## @MLX5_ACCEL_IPSEC_CAP_RX_NO_TRAILER
L_.str.1:                               ## @.str.1
	.asciz	"mlx5e_ipsec: %s"

L_.str.2:                               ## @.str.2
	.asciz	"IPSec attached to netdevice\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_ipsec_init               ; -- Begin function mlx5e_ipsec_init
	.p2align	2
_mlx5e_ipsec_init:                      ; @mlx5e_ipsec_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_MLX5_IPSEC_DEV
	cbz	w0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_7
; %bb.2:
	mov	x20, x0
	ldr	w0, [x0, #24]
	bl	_hash_init
	add	x0, x20, #20
	bl	_spin_lock_init
	add	x0, x20, #16
	bl	_ida_init
	str	x19, [x20, #8]
	str	x20, [x19, #16]
	ldr	w0, [x19, #8]
	bl	_mlx5_accel_ipsec_device_caps
Lloh3:
	adrp	x8, _MLX5_ACCEL_IPSEC_CAP_RX_NO_TRAILER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX5_ACCEL_IPSEC_CAP_RX_NO_TRAILER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w8, ne
	str	w8, [x20]
	ldr	x8, [x19]
	ldr	w2, [x8]
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #0
	bl	_alloc_ordered_workqueue
	str	w0, [x20, #4]
	cbz	w0, LBB0_6
; %bb.3:
	ldr	x0, [x19]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_4:
	ldr	x0, [x19]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
LBB0_5:
	bl	_netdev_dbg
	mov	w0, #0
	b	LBB0_8
LBB0_6:
	mov	x0, x20
	bl	_kfree
LBB0_7:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Not an IPSec offload device\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MLX5_ACCEL_IPSEC_CAP_RX_NO_TRAILER,4,2 ; @MLX5_ACCEL_IPSEC_CAP_RX_NO_TRAILER
l_.str.1:                               ; @.str.1
	.asciz	"mlx5e_ipsec: %s"

l_.str.2:                               ; @.str.2
	.asciz	"IPSec attached to netdevice\n"

.subsections_via_symbols
