	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pg_identify
_pg_identify:                           ## @pg_identify
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ATAPI_IDENTIFY@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, -92(%rbp)
	movq	$603979776, -91(%rbp)           ## imm = 0x24000000
	movl	$0, -84(%rbp)
	movq	_jiffies@GOTPCREL(%rip), %r12
	movq	_PG_TMO@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	addq	(%r12), %rcx
	leaq	-92(%rbp), %rsi
	movl	$36, %edx
	callq	_pg_command
	movl	$-1, %r14d
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	(%r13), %rdx
	addq	(%r12), %rdx
	leaq	-128(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_pg_completion
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	xorl	%r14d, %r14d
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.3:
	leaq	-120(%rbp), %rdi
	leaq	-58(%rbp), %r15
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_xs
	leaq	-112(%rbp), %rdi
	leaq	-80(%rbp), %r12
	movq	%r12, %rsi
	movl	$16, %edx
	callq	_xs
	movl	8(%rbx), %esi
	movq	(%rbx), %rax
	leaq	l_reltable.pg_identify(%rip), %rcx
	movslq	(%rcx,%rax,4), %r8
	addq	%rcx, %r8
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rdx
	movq	%r12, %rcx
	callq	_printk
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	movl	%r14d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"master"

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

	.section	__TEXT,__const
	.p2align	2                               ## @reltable.pg_identify
l_reltable.pg_identify:
	.long	L_.str-l_reltable.pg_identify
	.long	L_.str.1-l_reltable.pg_identify

	.comm	_ATAPI_IDENTIFY,4,2             ## @ATAPI_IDENTIFY
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_PG_TMO,8,3                     ## @PG_TMO
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"%s: %s %s, %s\n"

	.no_dead_strip	_pg_identify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pg_identify
_pg_identify:                           ; @pg_identify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _ATAPI_IDENTIFY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATAPI_IDENTIFY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	strb	w8, [sp, #48]
	mov	w8, #603979776
	stur	x8, [sp, #49]
Lloh6:
	adrp	x21, _jiffies@GOTPAGE
Lloh7:
	ldr	x21, [x21, _jiffies@GOTPAGEOFF]
	str	wzr, [sp, #56]
	ldr	x8, [x21]
Lloh8:
	adrp	x22, _PG_TMO@GOTPAGE
Lloh9:
	ldr	x22, [x22, _PG_TMO@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x3, x9, x8
	add	x1, sp, #48
	mov	w2, #36
	bl	_pg_command
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x21]
	ldr	x9, [x22]
	add	x2, x9, x8
	add	x1, sp, #12
	mov	x0, x19
	bl	_pg_completion
	cbz	w0, LBB0_5
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldur	x8, [x29, #-40]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.4:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_5:
	cbz	w20, LBB0_7
; %bb.6:
	add	x20, sp, #12
	add	x0, x20, #8
	sub	x1, x29, #50
	mov	w2, #8
	bl	_xs
	add	x0, x20, #16
	add	x1, sp, #60
	mov	w2, #16
	bl	_xs
	ldr	w1, [x19, #8]
	ldr	x8, [x19]
Lloh13:
	adrp	x9, l___const.pg_identify.ms@PAGE
Lloh14:
	add	x9, x9, l___const.pg_identify.ms@PAGEOFF
	ldr	x4, [x9, x8, lsl #3]
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	sub	x2, x29, #50
	add	x3, sp, #60
	bl	_printk
LBB0_7:
	mov	w0, #0
	b	LBB0_3
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"master"

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

	.section	__DATA,__const
	.p2align	3                               ; @__const.pg_identify.ms
l___const.pg_identify.ms:
	.quad	l_.str
	.quad	l_.str.1

	.comm	_ATAPI_IDENTIFY,4,2             ; @ATAPI_IDENTIFY
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_PG_TMO,8,3                     ; @PG_TMO
	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"%s: %s %s, %s\n"

	.no_dead_strip	_pg_identify
.subsections_via_symbols
