	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_miss_action
_set_miss_action:                       ## @set_miss_action
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.6:
	movq	8(%rdx), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.7:
	callq	_mlx5dr_action_create_dest_table
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_2
## %bb.8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_14
LBB0_1:
	xorl	%r13d, %r13d
LBB0_2:
	movq	(%r15), %r12
	movq	8(%r15), %rdi
	movq	%r13, %rsi
	callq	_mlx5dr_table_set_miss_action
	movl	%eax, %ebx
	testq	%r13, %r13
	je	LBB0_10
## %bb.3:
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.4:
	movq	%r13, %rdi
	callq	_mlx5dr_action_destroy
	testl	%eax, %eax
	je	LBB0_5
## %bb.9:
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_mlx5_core_err
	xorl	%r13d, %r13d
	jmp	LBB0_10
LBB0_5:
	xorl	%ebx, %ebx
LBB0_10:
	movq	%r13, (%r15)
	testq	%r12, %r12
	je	LBB0_14
## %bb.11:
	movq	%r12, %rdi
	callq	_mlx5dr_action_destroy
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_mlx5_core_err
	jmp	LBB0_14
LBB0_12:
	xorl	%ebx, %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to destroy action (%d)\n"

	.no_dead_strip	_set_miss_action
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_miss_action
_set_miss_action:                       ; @set_miss_action
	.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	x20, x1
	mov	x19, x0
	cbz	x2, LBB0_4
; %bb.1:
	ldr	x0, [x2, #8]
	cbz	x0, LBB0_4
; %bb.2:
	bl	_mlx5dr_action_create_dest_table
	mov	x23, x0
	cbnz	x0, LBB0_5
; %bb.3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_12
LBB0_4:
	mov	x23, #0
LBB0_5:
	ldp	x22, x0, [x20]
	mov	x1, x23
	bl	_mlx5dr_table_set_miss_action
	mov	x21, x0
	cbz	x23, LBB0_9
; %bb.6:
	cbz	w21, LBB0_9
; %bb.7:
	mov	x0, x23
	bl	_mlx5dr_action_destroy
	mov	x21, x0
	cbz	w0, LBB0_9
; %bb.8:
	ldr	w0, [x19]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_mlx5_core_err
	mov	x23, #0
LBB0_9:
	str	x23, [x20]
	cbz	x22, LBB0_12
; %bb.10:
	mov	x0, x22
	bl	_mlx5dr_action_destroy
	mov	x21, x0
	cbz	w0, LBB0_12
; %bb.11:
	ldr	w0, [x19]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_mlx5_core_err
LBB0_12:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to destroy action (%d)\n"

	.no_dead_strip	_set_miss_action
.subsections_via_symbols
