	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv_swncq_issue_atacmd
_nv_swncq_issue_atacmd:                 ## @nv_swncq_issue_atacmd
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINTK
	movb	(%r12), %cl
	movl	$1, %r15d
	movl	$1, %edi
	shll	%cl, %edi
	movl	16(%rbx), %esi
	callq	_writel
	movl	(%r12), %ecx
	shll	%cl, %r15d
	movl	$-2, %eax
	roll	%cl, %eax
	movl	%ecx, (%rbx)
	andl	%eax, 4(%rbx)
	andl	%eax, 8(%rbx)
	orl	%r15d, 12(%rbx)
	movq	(%r14), %rax
	leaq	4(%r12), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	*8(%rax)
	movq	(%r14), %rax
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	*(%rax)
	movl	(%r12), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINTK
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
LBB0_2:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter\n"

L_.str.1:                               ## @.str.1
	.asciz	"Issued tag %u\n"

	.no_dead_strip	_nv_swncq_issue_atacmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv_swncq_issue_atacmd
_nv_swncq_issue_atacmd:                 ; @nv_swncq_issue_atacmd
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_2
; %bb.1:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x0, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DPRINTK
	ldr	w8, [x19]
	mov	w22, #1
	lsl	w0, w22, w8
	ldr	w1, [x21, #16]
	bl	_writel
	ldr	w8, [x19]
	str	w8, [x21]
	lsl	w8, w22, w8
	mvn	w9, w8
	ldur	d0, [x21, #4]
	dup.2s	v1, w9
	and.8b	v0, v0, v1
	stur	d0, [x21, #4]
	ldr	w9, [x21, #12]
	orr	w8, w9, w8
	str	w8, [x21, #12]
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	add	x21, x19, #4
	mov	x0, x20
	mov	x1, x21
	blr	x8
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	x0, x20
	mov	x1, x21
	blr	x8
	ldr	w8, [x19]
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DPRINTK
	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
	add	sp, sp, #64
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	mov	w0, #0
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter\n"

l_.str.1:                               ; @.str.1
	.asciz	"Issued tag %u\n"

	.no_dead_strip	_nv_swncq_issue_atacmd
.subsections_via_symbols
