	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxd2820r_sleep_c               ## -- Begin function cxd2820r_sleep_c
	.p2align	4, 0x90
_cxd2820r_sleep_c:                      ## @cxd2820r_sleep_c
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	(%rdi), %rbx
	movq	8(%rbx), %rax
	movq	(%rax), %r14
	movups	l___const.cxd2820r_sleep_c.tab+44(%rip), %xmm0
	movups	%xmm0, -52(%rbp)
	movaps	l___const.cxd2820r_sleep_c.tab+32(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	l___const.cxd2820r_sleep_c.tab+16(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	l___const.cxd2820r_sleep_c.tab(%rip), %xmm0
	movaps	%xmm0, -96(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_SYS_UNDEFINED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	leaq	-96(%rbp), %r15
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_cxd2820r_wr_reg_val_mask_tab
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.cxd2820r_sleep_c.tab
l___const.cxd2820r_sleep_c.tab:
	.long	255                             ## 0xff
	.long	31                              ## 0x1f
	.long	255                             ## 0xff
	.long	133                             ## 0x85
	.long	0                               ## 0x0
	.long	255                             ## 0xff
	.long	136                             ## 0x88
	.long	1                               ## 0x1
	.long	255                             ## 0xff
	.long	129                             ## 0x81
	.long	0                               ## 0x0
	.long	255                             ## 0xff
	.long	128                             ## 0x80
	.long	0                               ## 0x0
	.long	255                             ## 0xff

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_SYS_UNDEFINED,4,2              ## @SYS_UNDEFINED
L_.str.1:                               ## @.str.1
	.asciz	"failed=%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxd2820r_sleep_c               ; -- Begin function cxd2820r_sleep_c
	.p2align	2
_cxd2820r_sleep_c:                      ; @cxd2820r_sleep_c
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	ldr	x20, [x0]
	ldr	x8, [x20, #8]
	ldr	x19, [x8]
Lloh3:
	adrp	x8, l___const.cxd2820r_sleep_c.tab@PAGE
Lloh4:
	add	x8, x8, l___const.cxd2820r_sleep_c.tab@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #16]
	ldr	q0, [x8, #32]
	str	q0, [sp, #48]
	ldur	q0, [x8, #44]
	stur	q0, [sp, #60]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
Lloh7:
	adrp	x8, _SYS_UNDEFINED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SYS_UNDEFINED@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x20]
	add	x0, sp, #16
	bl	_ARRAY_SIZE
	mov	x2, x0
	add	x1, sp, #16
	mov	x0, x20
	bl	_cxd2820r_wr_reg_val_mask_tab
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
	str	x20, [sp]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
LBB0_2:
	ldur	x8, [x29, #-24]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.cxd2820r_sleep_c.tab
l___const.cxd2820r_sleep_c.tab:
	.long	255                             ; 0xff
	.long	31                              ; 0x1f
	.long	255                             ; 0xff
	.long	133                             ; 0x85
	.long	0                               ; 0x0
	.long	255                             ; 0xff
	.long	136                             ; 0x88
	.long	1                               ; 0x1
	.long	255                             ; 0xff
	.long	129                             ; 0x81
	.long	0                               ; 0x0
	.long	255                             ; 0xff
	.long	128                             ; 0x80
	.long	0                               ; 0x0
	.long	255                             ; 0xff

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_SYS_UNDEFINED,4,2              ; @SYS_UNDEFINED
l_.str.1:                               ; @.str.1
	.asciz	"failed=%d\n"

.subsections_via_symbols
