	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5_fpga_tls_get_caps
_mlx5_fpga_tls_get_caps:                ## @mlx5_fpga_tls_get_caps
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_tls_extended_cap@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_MLX5_ST_SZ_BYTES
	movl	%eax, %ebx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	callq	_mlx5_fpga_get_sbu_caps
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_20
## %bb.3:
	movl	(%r13), %edi
	movq	_tx@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_MLX5_GET
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_MLX5_ACCEL_TLS_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_5:
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	(%r13), %edi
	movq	_rx@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_MLX5_GET
	movl	$0, %ebx
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_MLX5_ACCEL_TLS_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_7:
	movl	(%r13), %edi
	movq	_tls_v12@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_MLX5_GET
	movl	$0, %r14d
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_MLX5_ACCEL_TLS_V12@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_9:
	movl	(%r13), %edi
	movq	_tls_v13@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_MLX5_GET
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_MLX5_ACCEL_TLS_V13@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_11:
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	(%r13), %edi
	movq	_lro@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_MLX5_GET
	movl	$0, %r13d
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_MLX5_ACCEL_TLS_LRO@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_13:
	orl	-48(%rbp), %ebx                 ## 4-byte Folded Reload
	orl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	movq	_tls_extended_cap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ipv6@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_MLX5_GET
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	_MLX5_ACCEL_TLS_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_15:
	orl	%ecx, %r13d
	orl	%r14d, %ebx
	movq	_tls_extended_cap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_aes_gcm_128@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_MLX5_GET
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	_MLX5_ACCEL_TLS_AES_GCM128@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_17:
	orl	%ecx, %r13d
	orl	%r13d, %ebx
	movq	_tls_extended_cap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_aes_gcm_256@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_MLX5_GET
	testq	%rax, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	$0, %eax
	je	LBB0_19
## %bb.18:
	movq	_MLX5_ACCEL_TLS_AES_GCM256@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_19:
	orl	%eax, %ebx
	movl	%ebx, (%rcx)
LBB0_20:
	movq	%r12, %rdi
	callq	_kfree
	jmp	LBB0_21
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_21:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tls_extended_cap,4,2           ## @tls_extended_cap
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_tx,4,2                         ## @tx
	.comm	_MLX5_ACCEL_TLS_TX,4,2          ## @MLX5_ACCEL_TLS_TX
	.comm	_rx,4,2                         ## @rx
	.comm	_MLX5_ACCEL_TLS_RX,4,2          ## @MLX5_ACCEL_TLS_RX
	.comm	_tls_v12,4,2                    ## @tls_v12
	.comm	_MLX5_ACCEL_TLS_V12,4,2         ## @MLX5_ACCEL_TLS_V12
	.comm	_tls_v13,4,2                    ## @tls_v13
	.comm	_MLX5_ACCEL_TLS_V13,4,2         ## @MLX5_ACCEL_TLS_V13
	.comm	_lro,4,2                        ## @lro
	.comm	_MLX5_ACCEL_TLS_LRO,4,2         ## @MLX5_ACCEL_TLS_LRO
	.comm	_ipv6,4,2                       ## @ipv6
	.comm	_MLX5_ACCEL_TLS_IPV6,4,2        ## @MLX5_ACCEL_TLS_IPV6
	.comm	_aes_gcm_128,4,2                ## @aes_gcm_128
	.comm	_MLX5_ACCEL_TLS_AES_GCM128,4,2  ## @MLX5_ACCEL_TLS_AES_GCM128
	.comm	_aes_gcm_256,4,2                ## @aes_gcm_256
	.comm	_MLX5_ACCEL_TLS_AES_GCM256,4,2  ## @MLX5_ACCEL_TLS_AES_GCM256
	.no_dead_strip	_mlx5_fpga_tls_get_caps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5_fpga_tls_get_caps
_mlx5_fpga_tls_get_caps:                ; @mlx5_fpga_tls_get_caps
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x23, _tls_extended_cap@GOTPAGE
Lloh1:
	ldr	x23, [x23, _tls_extended_cap@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_MLX5_ST_SZ_BYTES
	mov	x22, x0
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_mlx5_fpga_get_sbu_caps
	mov	x21, x0
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	w0, [x23]
Lloh5:
	adrp	x8, _tx@GOTPAGE
Lloh6:
	ldr	x8, [x8, _tx@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_MLX5_GET
Lloh8:
	adrp	x8, _MLX5_ACCEL_TLS_TX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MLX5_ACCEL_TLS_TX@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w22, wzr, w8, eq
	ldr	w0, [x23]
Lloh11:
	adrp	x8, _rx@GOTPAGE
Lloh12:
	ldr	x8, [x8, _rx@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_MLX5_GET
Lloh14:
	adrp	x8, _MLX5_ACCEL_TLS_RX@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MLX5_ACCEL_TLS_RX@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w22, w8, w22
	ldr	w0, [x23]
Lloh17:
	adrp	x8, _tls_v12@GOTPAGE
Lloh18:
	ldr	x8, [x8, _tls_v12@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_MLX5_GET
Lloh20:
	adrp	x8, _MLX5_ACCEL_TLS_V12@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MLX5_ACCEL_TLS_V12@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w22, w22, w8
	ldr	w0, [x23]
Lloh23:
	adrp	x8, _tls_v13@GOTPAGE
Lloh24:
	ldr	x8, [x8, _tls_v13@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_MLX5_GET
Lloh26:
	adrp	x8, _MLX5_ACCEL_TLS_V13@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MLX5_ACCEL_TLS_V13@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w22, w22, w8
	ldr	w0, [x23]
Lloh29:
	adrp	x8, _lro@GOTPAGE
Lloh30:
	ldr	x8, [x8, _lro@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_MLX5_GET
Lloh32:
	adrp	x8, _MLX5_ACCEL_TLS_LRO@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MLX5_ACCEL_TLS_LRO@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w22, w22, w8
	ldr	w0, [x23]
Lloh35:
	adrp	x8, _ipv6@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ipv6@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_MLX5_GET
Lloh38:
	adrp	x8, _MLX5_ACCEL_TLS_IPV6@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MLX5_ACCEL_TLS_IPV6@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w22, w22, w8
	ldr	w0, [x23]
Lloh41:
	adrp	x8, _aes_gcm_128@GOTPAGE
Lloh42:
	ldr	x8, [x8, _aes_gcm_128@GOTPAGEOFF]
Lloh43:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_MLX5_GET
Lloh44:
	adrp	x8, _MLX5_ACCEL_TLS_AES_GCM128@GOTPAGE
Lloh45:
	ldr	x8, [x8, _MLX5_ACCEL_TLS_AES_GCM128@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w22, w22, w8
	ldr	w0, [x23]
Lloh47:
	adrp	x8, _aes_gcm_256@GOTPAGE
Lloh48:
	ldr	x8, [x8, _aes_gcm_256@GOTPAGEOFF]
Lloh49:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_MLX5_GET
Lloh50:
	adrp	x8, _MLX5_ACCEL_TLS_AES_GCM256@GOTPAGE
Lloh51:
	ldr	x8, [x8, _MLX5_ACCEL_TLS_AES_GCM256@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w8, w22, w8
	str	w8, [x19]
LBB0_3:
	mov	x0, x20
	bl	_kfree
	b	LBB0_5
LBB0_4:
Lloh53:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh54:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_5:
	mov	x0, 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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.cfi_endproc
                                        ; -- End function
	.comm	_tls_extended_cap,4,2           ; @tls_extended_cap
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_tx,4,2                         ; @tx
	.comm	_MLX5_ACCEL_TLS_TX,4,2          ; @MLX5_ACCEL_TLS_TX
	.comm	_rx,4,2                         ; @rx
	.comm	_MLX5_ACCEL_TLS_RX,4,2          ; @MLX5_ACCEL_TLS_RX
	.comm	_tls_v12,4,2                    ; @tls_v12
	.comm	_MLX5_ACCEL_TLS_V12,4,2         ; @MLX5_ACCEL_TLS_V12
	.comm	_tls_v13,4,2                    ; @tls_v13
	.comm	_MLX5_ACCEL_TLS_V13,4,2         ; @MLX5_ACCEL_TLS_V13
	.comm	_lro,4,2                        ; @lro
	.comm	_MLX5_ACCEL_TLS_LRO,4,2         ; @MLX5_ACCEL_TLS_LRO
	.comm	_ipv6,4,2                       ; @ipv6
	.comm	_MLX5_ACCEL_TLS_IPV6,4,2        ; @MLX5_ACCEL_TLS_IPV6
	.comm	_aes_gcm_128,4,2                ; @aes_gcm_128
	.comm	_MLX5_ACCEL_TLS_AES_GCM128,4,2  ; @MLX5_ACCEL_TLS_AES_GCM128
	.comm	_aes_gcm_256,4,2                ; @aes_gcm_256
	.comm	_MLX5_ACCEL_TLS_AES_GCM256,4,2  ; @MLX5_ACCEL_TLS_AES_GCM256
	.no_dead_strip	_mlx5_fpga_tls_get_caps
.subsections_via_symbols
