	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function st_nci_spi_enable
_st_nci_spi_enable:                     ## @st_nci_spi_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	24(%rdi), %edi
	xorl	%esi, %esi
	callq	_gpiod_set_value
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$15000, %esi                    ## imm = 0x3A98
	callq	_usleep_range
	movl	24(%rbx), %edi
	movl	$1, %esi
	callq	_gpiod_set_value
	movl	$80000, %edi                    ## imm = 0x13880
	movl	$85000, %esi                    ## imm = 0x14C08
	callq	_usleep_range
	movq	16(%rbx), %rax
	cmpq	$0, (%rax)
	jne	LBB0_3
## %bb.1:
	cmpl	$0, (%rbx)
	jne	LBB0_3
## %bb.2:
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	callq	_enable_irq
	movl	$1, (%rbx)
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_st_nci_spi_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function st_nci_spi_enable
_st_nci_spi_enable:                     ; @st_nci_spi_enable
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #24]
	mov	w1, #0
	bl	_gpiod_set_value
	mov	w0, #10000
	mov	w1, #15000
	bl	_usleep_range
	ldr	w0, [x19, #24]
	mov	w1, #1
	bl	_gpiod_set_value
	mov	w0, #14464
	movk	w0, #1, lsl #16
	mov	w1, #19464
	movk	w1, #1, lsl #16
	bl	_usleep_range
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	cbnz	x8, LBB0_3
; %bb.1:
	ldr	w8, [x19]
	cbnz	w8, LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_enable_irq
	mov	w8, #1
	str	w8, [x19]
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_st_nci_spi_enable
.subsections_via_symbols
