	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efa_com_set_aenq_config        ## -- Begin function efa_com_set_aenq_config
	.p2align	4, 0x90
_efa_com_set_aenq_config:               ## @efa_com_set_aenq_config
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_ibdev_dbg
	movq	_EFA_ADMIN_AENQ_CONFIG@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_efa_com_get_feature
	movl	(%rbx), %edi
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r14d
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_ibdev_err_ratelimited
	jmp	LBB0_6
LBB0_2:
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %ecx
	leaq	L_.str.2(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_ibdev_dbg
	movl	-48(%rbp), %ecx
	movl	%ecx, %eax
	notl	%eax
	testl	%eax, %r15d
	jne	LBB0_3
## %bb.4:
	movl	%r15d, -40(%rbp)
	movl	(%r12), %ecx
	leaq	-56(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_efa_com_set_feature
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %r15d
	movl	(%rbx), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_ibdev_err_ratelimited
	movl	%r15d, %r14d
	jmp	LBB0_6
LBB0_3:
	movl	(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_ibdev_err_ratelimited
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Configuring aenq with groups[%#x]\n"

	.comm	_EFA_ADMIN_AENQ_CONFIG,4,2      ## @EFA_ADMIN_AENQ_CONFIG
L_.str.1:                               ## @.str.1
	.asciz	"Failed to get aenq attributes: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Get aenq groups: supported[%#x] enabled[%#x]\n"

L_.str.3:                               ## @.str.3
	.asciz	"Trying to set unsupported aenq groups[%#x] supported[%#x]\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
L_.str.4:                               ## @.str.4
	.asciz	"Failed to set aenq attributes: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efa_com_set_aenq_config        ; -- Begin function efa_com_set_aenq_config
	.p2align	2
_efa_com_set_aenq_config:               ; @efa_com_set_aenq_config
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_ibdev_dbg
Lloh2:
	adrp	x22, _EFA_ADMIN_AENQ_CONFIG@GOTPAGE
Lloh3:
	ldr	x22, [x22, _EFA_ADMIN_AENQ_CONFIG@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x1, sp, #24
	mov	x0, x19
	bl	_efa_com_get_feature
	mov	x21, x0
	ldr	w0, [x19]
	cbz	w21, LBB0_4
; %bb.1:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_2:
	mov	x2, x21
	bl	_ibdev_err_ratelimited
LBB0_3:
	mov	x0, x21
	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
LBB0_4:
	ldp	w2, w8, [sp, #24]
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_ibdev_dbg
	ldr	w8, [sp, #24]
	bics	wzr, w20, w8
	b.ne	LBB0_7
; %bb.5:
	str	w20, [sp, #8]
	ldr	w3, [x22]
	add	x1, sp, #16
	add	x2, sp, #8
	mov	x0, x19
	bl	_efa_com_set_feature
	mov	x21, x0
	cbz	w0, LBB0_3
; %bb.6:
	ldr	w0, [x19]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_2
LBB0_7:
	ldr	w0, [x19]
	str	x8, [sp]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x20
	bl	_ibdev_err_ratelimited
Lloh12:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_3
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Configuring aenq with groups[%#x]\n"

	.comm	_EFA_ADMIN_AENQ_CONFIG,4,2      ; @EFA_ADMIN_AENQ_CONFIG
l_.str.1:                               ; @.str.1
	.asciz	"Failed to get aenq attributes: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Get aenq groups: supported[%#x] enabled[%#x]\n"

l_.str.3:                               ; @.str.3
	.asciz	"Trying to set unsupported aenq groups[%#x] supported[%#x]\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
l_.str.4:                               ; @.str.4
	.asciz	"Failed to set aenq attributes: %d\n"

.subsections_via_symbols
