	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atasecurity_freeze
_atasecurity_freeze:                    ## @atasecurity_freeze
	.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	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %r13
	testl	%r8d, %r8d
	jne	LBB0_2
## %bb.1:
	movq	_ATA_SECURITY_FREEZE_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_atasecurity_notify
LBB0_2:
	movq	_CAM_DIR_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_AP_PROTO_NON_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_MSG_SIMPLE_Q_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ATA_SECURITY_FREEZE_LOCK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	subq	$8, %rsp
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	xorl	%r9d, %r9d
	pushq	$0
	pushq	%r14
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	%rbx
	pushq	%rax
	callq	_ata_do_cmd
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATA_SECURITY_FREEZE_LOCK,4,2   ## @ATA_SECURITY_FREEZE_LOCK
	.comm	_CAM_DIR_NONE,4,2               ## @CAM_DIR_NONE
	.comm	_AP_PROTO_NON_DATA,4,2          ## @AP_PROTO_NON_DATA
	.comm	_MSG_SIMPLE_Q_TAG,4,2           ## @MSG_SIMPLE_Q_TAG
	.no_dead_strip	_atasecurity_freeze
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atasecurity_freeze
_atasecurity_freeze:                    ; @atasecurity_freeze
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x23, _ATA_SECURITY_FREEZE_LOCK@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ATA_SECURITY_FREEZE_LOCK@GOTPAGEOFF]
	cbnz	w4, LBB0_2
; %bb.1:
	ldr	w0, [x23]
	mov	x1, #0
	bl	_atasecurity_notify
LBB0_2:
Lloh2:
	adrp	x8, _CAM_DIR_NONE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CAM_DIR_NONE@GOTPAGEOFF]
Lloh4:
	adrp	x9, _AP_PROTO_NON_DATA@GOTPAGE
Lloh5:
	ldr	x9, [x9, _AP_PROTO_NON_DATA@GOTPAGEOFF]
Lloh6:
	ldr	w3, [x8]
Lloh7:
	ldr	w4, [x9]
Lloh8:
	adrp	x8, _MSG_SIMPLE_Q_TAG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MSG_SIMPLE_Q_TAG@GOTPAGEOFF]
Lloh10:
	ldr	w6, [x8]
	ldr	w7, [x23]
	stp	w22, wzr, [sp, #28]
	str	wzr, [sp, #24]
	str	xzr, [sp, #16]
	str	wzr, [sp, #8]
	str	xzr, [sp]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w5, #0
	bl	_ata_do_cmd
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ATA_SECURITY_FREEZE_LOCK,4,2   ; @ATA_SECURITY_FREEZE_LOCK
	.comm	_CAM_DIR_NONE,4,2               ; @CAM_DIR_NONE
	.comm	_AP_PROTO_NON_DATA,4,2          ; @AP_PROTO_NON_DATA
	.comm	_MSG_SIMPLE_Q_TAG,4,2           ; @MSG_SIMPLE_Q_TAG
	.no_dead_strip	_atasecurity_freeze
.subsections_via_symbols
