	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __convert_sector
___convert_sector:                      ## @__convert_sector
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movq	__ioAddressingType@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rdi,8), %rcx
	movq	_BYTE_ADDRESSING@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	jne	LBB0_2
## %bb.1:
	movl	%eax, %ecx
	shrl	$15, %ecx
	movzbl	%cl, %ecx
	movl	%ecx, (%rdx)
	movl	%eax, %ecx
	shrl	$7, %ecx
	movzbl	%cl, %ecx
	movl	%ecx, 4(%rdx)
	addl	%eax, %eax
	movzbl	%al, %eax
	movl	%eax, 8(%rdx)
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_2:
	movq	_SECTOR_ADDRESSING@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	jne	LBB0_5
## %bb.3:
	movl	%eax, %ecx
	shrl	$24, %ecx
	movl	%ecx, (%rdx)
	movl	%eax, %ecx
	shrl	$16, %ecx
	movzbl	%cl, %ecx
	movl	%ecx, 4(%rdx)
	movzbl	%ah, %ecx
	movl	%ecx, 8(%rdx)
	movzbl	%al, %eax
LBB0_4:
	movl	%eax, 12(%rdx)
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__ioAddressingType,8,3          ## @_ioAddressingType
	.comm	_BYTE_ADDRESSING,8,3            ## @BYTE_ADDRESSING
	.comm	_SECTOR_ADDRESSING,8,3          ## @SECTOR_ADDRESSING
	.no_dead_strip	___convert_sector
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function __convert_sector
lCPI0_0:
	.long	4294967280                      ; 0xfffffff0
	.long	4294967288                      ; 0xfffffff8
lCPI0_1:
	.long	4294967281                      ; 0xfffffff1
	.long	4294967289                      ; 0xfffffff9
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
___convert_sector:                      ; @__convert_sector
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, __ioAddressingType@GOTPAGE
Lloh1:
	ldr	x8, [x8, __ioAddressingType@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8, x0, lsl #3]
Lloh3:
	adrp	x9, _BYTE_ADDRESSING@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BYTE_ADDRESSING@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #0
	dup.2s	v0, w1
Lloh6:
	adrp	x9, lCPI0_1@PAGE
Lloh7:
	ldr	d1, [x9, lCPI0_1@PAGEOFF]
	ushl.2s	v0, v0, v1
	movi	d1, #0x0000ff000000ff
	and.8b	v0, v0, v1
	str	d0, [x2]
	ubfiz	w9, w1, #1, #7
	str	w9, [x2, #8]
	b	LBB0_4
LBB0_2:
Lloh8:
	adrp	x9, _SECTOR_ADDRESSING@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SECTOR_ADDRESSING@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	lsr	w8, w1, #24
	str	w8, [x2]
	dup.2s	v0, w1
Lloh11:
	adrp	x8, lCPI0_0@PAGE
Lloh12:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
	movi	d1, #0x0000ff000000ff
	and.8b	v0, v0, v1
	stur	d0, [x2, #4]
	and	w8, w1, #0xff
LBB0_4:
	str	w8, [x2, #12]
LBB0_5:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdr	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	__ioAddressingType,8,3          ; @_ioAddressingType
	.comm	_BYTE_ADDRESSING,8,3            ; @BYTE_ADDRESSING
	.comm	_SECTOR_ADDRESSING,8,3          ; @SECTOR_ADDRESSING
	.no_dead_strip	___convert_sector
.subsections_via_symbols
