	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function virtblk_serial_show
_virtblk_serial_show:                   ## @virtblk_serial_show
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	callq	_dev_to_disk
	movq	%rax, %r14
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_VIRTIO_BLK_ID_BYTES@GOTPCREL(%rip), %r15
	xorl	%edi, %edi
	cmpq	(%r15), %rax
	setb	%dil
	callq	_BUILD_BUG_ON
	movq	(%r15), %rax
	movb	$0, (%rbx,%rax)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_virtblk_get_id
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_EIO@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	movl	(%rdx), %edx
	addl	%eax, %edx
	cmovnel	%eax, %ecx
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strlen                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.comm	_VIRTIO_BLK_ID_BYTES,8,3        ## @VIRTIO_BLK_ID_BYTES
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_virtblk_serial_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function virtblk_serial_show
_virtblk_serial_show:                   ; @virtblk_serial_show
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x2
	bl	_dev_to_disk
	mov	x20, x0
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x21, _VIRTIO_BLK_ID_BYTES@GOTPAGE
Lloh4:
	ldr	x21, [x21, _VIRTIO_BLK_ID_BYTES@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	cset	w0, lo
	bl	_BUILD_BUG_ON
	ldr	x8, [x21]
	strb	wzr, [x19, x8]
	mov	x0, x20
	mov	x1, x19
	bl	_virtblk_get_id
	cbz	w0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _EIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmn	w0, w8
	csel	w0, wzr, w0, eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_strlen
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.comm	_VIRTIO_BLK_ID_BYTES,8,3        ; @VIRTIO_BLK_ID_BYTES
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_virtblk_serial_show
.subsections_via_symbols
