	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wl1271_acx_conn_monit_params   ## -- Begin function wl1271_acx_conn_monit_params
	.p2align	4, 0x90
_wl1271_acx_conn_monit_params:          ## @wl1271_acx_conn_monit_params
	.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
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_ACX_CONN_MONIT_DISABLE_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_DEBUG_ACX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%edx, %edx
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	callq	_wl1271_debug
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rax
	movl	%r12d, %ebx
	testl	%r13d, %r13d
	je	LBB0_4
## %bb.3:
	movl	(%r14), %ebx
	movl	4(%r14), %r12d
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movl	%r12d, %edi
	callq	_cpu_to_le32
	movq	%rax, 8(%r15)
	movl	%ebx, %edi
	callq	_cpu_to_le32
	movq	%rax, (%r15)
	movq	_ACX_CONN_MONIT_PARAMS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	movl	$24, %ecx
	callq	_wl1271_cmd_configure
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_6
## %bb.5:
	leaq	L_.str.3(%rip), %rdi
	movl	%ebx, %esi
	callq	_wl1271_warning
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movq	%r15, %rdi
	callq	_kfree
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACX_CONN_MONIT_DISABLE_VALUE,4,2 ## @ACX_CONN_MONIT_DISABLE_VALUE
	.comm	_DEBUG_ACX,4,2                  ## @DEBUG_ACX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"acx connection monitor parameters: %s"

L_.str.1:                               ## @.str.1
	.asciz	"enabled"

L_.str.2:                               ## @.str.2
	.asciz	"disabled"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ACX_CONN_MONIT_PARAMS,4,2      ## @ACX_CONN_MONIT_PARAMS
L_.str.3:                               ## @.str.3
	.asciz	"failed to set connection monitor parameters: %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wl1271_acx_conn_monit_params   ; -- Begin function wl1271_acx_conn_monit_params
	.p2align	2
_wl1271_acx_conn_monit_params:          ; @wl1271_acx_conn_monit_params
	.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	x23, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ACX_CONN_MONIT_DISABLE_VALUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ACX_CONN_MONIT_DISABLE_VALUE@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
Lloh3:
	adrp	x8, _DEBUG_ACX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DEBUG_ACX@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, l_.str.1@PAGE
Lloh7:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh8:
	adrp	x9, l_.str.2@PAGE
Lloh9:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w2, #0
	csel	x2, x9, x8, eq
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wl1271_debug
Lloh12:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_3
; %bb.1:
	cbz	w23, LBB0_4
; %bb.2:
	ldp	w23, w22, [x20]
	b	LBB0_5
LBB0_3:
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_7
LBB0_4:
	mov	x23, x22
LBB0_5:
	ldr	w8, [x21]
	str	w8, [x19, #16]
	mov	x0, x22
	bl	_cpu_to_le32
	str	x0, [x19, #8]
	mov	x0, x23
	bl	_cpu_to_le32
	str	x0, [x19]
Lloh18:
	adrp	x8, _ACX_CONN_MONIT_PARAMS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ACX_CONN_MONIT_PARAMS@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	mov	w3, #24
	bl	_wl1271_cmd_configure
	mov	x20, x0
	tbz	w0, #31, LBB0_7
; %bb.6:
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x20
	bl	_wl1271_warning
LBB0_7:
	mov	x0, x19
	bl	_kfree
	mov	x0, x20
	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	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_ACX_CONN_MONIT_DISABLE_VALUE,4,2 ; @ACX_CONN_MONIT_DISABLE_VALUE
	.comm	_DEBUG_ACX,4,2                  ; @DEBUG_ACX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"acx connection monitor parameters: %s"

l_.str.1:                               ; @.str.1
	.asciz	"enabled"

l_.str.2:                               ; @.str.2
	.asciz	"disabled"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ACX_CONN_MONIT_PARAMS,4,2      ; @ACX_CONN_MONIT_PARAMS
l_.str.3:                               ; @.str.3
	.asciz	"failed to set connection monitor parameters: %d"

.subsections_via_symbols
