	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function cdfs_determine_sector_size
LCPI0_0:
	.long	67                              ## 0x43
	.long	68                              ## 0x44
	.long	48                              ## 0x30
	.long	48                              ## 0x30
LCPI0_1:
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
LCPI0_2:
	.long	0                               ## 0x0
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
LCPI0_3:
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_cdfs_determine_sector_size:            ## @cdfs_determine_sector_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$136, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	imull	$2352, (%rdi), %esi             ## imm = 0x930
	movl	12(%rdi), %edi
	addl	$37632, %esi                    ## imm = 0x9300
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_intfstream_seek
	movl	12(%rbx), %edi
	leaq	-144(%rbp), %rsi
	movl	$128, %edx
	callq	_intfstream_read
	cmpl	$128, %eax
	jb	LBB0_19
## %bb.1:
	movdqu	-44(%rbp), %xmm0
	psubd	LCPI0_0(%rip), %xmm0
	ptest	%xmm0, %xmm0
	jne	LBB0_4
## %bb.2:
	cmpl	$49, -28(%rbp)
	jne	LBB0_4
## %bb.3:
	movabsq	$103079217456, %rax             ## imm = 0x1800000930
	jmp	LBB0_18
LBB0_4:
	movdqu	-76(%rbp), %xmm0
	psubd	LCPI0_0(%rip), %xmm0
	ptest	%xmm0, %xmm0
	jne	LBB0_7
## %bb.5:
	cmpl	$49, -60(%rbp)
	je	LBB0_6
LBB0_7:
	movdqa	-144(%rbp), %xmm0
	movdqa	-128(%rbp), %xmm1
	pcmpeqd	LCPI0_1(%rip), %xmm1
	pcmpeqd	%xmm2, %xmm2
	pxor	%xmm2, %xmm1
	pcmpeqd	LCPI0_2(%rip), %xmm0
	pxor	%xmm2, %xmm0
	packssdw	%xmm1, %xmm0
	pmovmskb	%xmm0, %eax
	testl	%eax, %eax
	jne	LBB0_12
## %bb.8:
	movdqa	-112(%rbp), %xmm0
	pcmpeqd	LCPI0_3(%rip), %xmm0
	movmskps	%xmm0, %eax
	testb	$1, %al
	je	LBB0_12
## %bb.9:
	movl	%eax, %ecx
	andb	$2, %cl
	shrb	%cl
	je	LBB0_12
## %bb.10:
	movl	%eax, %ecx
	andb	$4, %cl
	shrb	$2, %cl
	je	LBB0_12
## %bb.11:
	shrb	$3, %al
	je	LBB0_12
LBB0_6:
	movabsq	$68719479088, %rax              ## imm = 0x1000000930
LBB0_18:
	movq	%rax, 4(%rbx)
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	addq	$136, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_12:
	movl	12(%rbx), %edi
	callq	_intfstream_get_size
	imull	$146087323, %eax, %ecx          ## imm = 0x8B51D9B
	addl	$14608720, %ecx                 ## imm = 0xDEE950
	rorl	$4, %ecx
	cmpl	$1826090, %ecx                  ## imm = 0x1BDD2A
	jbe	LBB0_13
## %bb.14:
	testl	$2047, %eax                     ## imm = 0x7FF
	je	LBB0_15
## %bb.16:
	imull	$-941362695, %eax, %eax         ## imm = 0xC7E3F1F9
	addl	$29417568, %eax                 ## imm = 0x1C0E060
	rorl	$5, %eax
	cmpl	$1838598, %eax                  ## imm = 0x1C0E06
	ja	LBB0_19
## %bb.17:
	movabsq	$34359740704, %rax              ## imm = 0x800000920
	jmp	LBB0_18
LBB0_13:
	movl	$2352, 4(%rbx)                  ## imm = 0x930
	jmp	LBB0_19
LBB0_15:
	movl	$2048, 4(%rbx)                  ## imm = 0x800
	jmp	LBB0_19
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.no_dead_strip	_cdfs_determine_sector_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function cdfs_determine_sector_size
lCPI0_0:
	.long	67                              ; 0x43
	.long	68                              ; 0x44
	.long	48                              ; 0x30
	.long	48                              ; 0x30
lCPI0_1:
	.long	0                               ; 0x0
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_2:
	.long	2336                            ; 0x920
	.long	8                               ; 0x8
lCPI0_3:
	.long	2352                            ; 0x930
	.long	16                              ; 0x10
lCPI0_4:
	.long	2352                            ; 0x930
	.long	24                              ; 0x18
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_cdfs_determine_sector_size:            ; @cdfs_determine_sector_size
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	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, #-24]
	ldr	w8, [x0]
	ldr	w0, [x0, #12]
	mov	w9, #2352
	mov	w10, #37632
	madd	w1, w8, w9, w10
Lloh3:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_intfstream_seek
	ldr	w0, [x19, #12]
	add	x1, sp, #8
	mov	w2, #128
	bl	_intfstream_read
	cmp	w0, #128
	b.lo	LBB0_13
; %bb.1:
	ldur	q1, [sp, #108]
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	cmeq.4s	v1, v1, v0
	mvn.16b	v1, v1
	xtn.4h	v1, v1
	umov.h	w8, v1[0]
	umov.h	w9, v1[1]
	and	w9, w9, #0x1
	bfi	w8, w9, #1, #1
	umov.h	w9, v1[2]
	and	w9, w9, #0x1
	bfi	w8, w9, #2, #1
	umov.h	w9, v1[3]
	bfi	w8, w9, #3, #29
	tst	w8, #0xf
	b.ne	LBB0_4
; %bb.2:
	ldr	w8, [sp, #124]
	cmp	w8, #49
	b.ne	LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, lCPI0_4@PAGE
Lloh9:
	ldr	d0, [x8, lCPI0_4@PAGEOFF]
	b	LBB0_12
LBB0_4:
	ldur	q1, [sp, #76]
	cmeq.4s	v0, v1, v0
	mvn.16b	v0, v0
	xtn.4h	v0, v0
	umov.h	w8, v0[0]
	umov.h	w9, v0[1]
	and	w9, w9, #0x1
	bfi	w8, w9, #1, #1
	umov.h	w9, v0[2]
	and	w9, w9, #0x1
	bfi	w8, w9, #2, #1
	umov.h	w9, v0[3]
	bfi	w8, w9, #3, #29
	tst	w8, #0xf
	b.ne	LBB0_6
; %bb.5:
	ldr	w8, [sp, #92]
	cmp	w8, #49
	b.eq	LBB0_11
LBB0_6:
	ldur	q0, [sp, #24]
	ldur	q1, [sp, #8]
	movi.2d	v2, #0x0000ff000000ff
	cmeq.4s	v0, v0, v2
	mvn.16b	v0, v0
Lloh10:
	adrp	x8, lCPI0_1@PAGE
Lloh11:
	ldr	q2, [x8, lCPI0_1@PAGEOFF]
	cmeq.4s	v1, v1, v2
	mvn.16b	v1, v1
	uzp1.8h	v0, v1, v0
	xtn.8b	v0, v0
	umov.b	w8, v0[1]
	and	w8, w8, #0x1
	umov.b	w9, v0[0]
	and	w9, w9, #0x1
	bfi	w9, w8, #1, #1
	umov.b	w8, v0[2]
	and	w8, w8, #0x1
	bfi	w9, w8, #2, #1
	umov.b	w8, v0[3]
	and	w8, w8, #0x1
	bfi	w9, w8, #3, #1
	umov.b	w8, v0[4]
	and	w8, w8, #0x1
	bfi	w9, w8, #4, #1
	umov.b	w8, v0[5]
	and	w8, w8, #0x1
	bfi	w9, w8, #5, #1
	umov.b	w8, v0[6]
	and	w8, w8, #0x1
	orr	w8, w9, w8, lsl #6
	umov.b	w9, v0[7]
	orr	w8, w8, w9, lsl #7
	tst	w8, #0xff
	b.ne	LBB0_15
; %bb.7:
	ldr	w8, [sp, #40]
	cmp	w8, #255
	b.ne	LBB0_15
; %bb.8:
	ldr	w8, [sp, #44]
	cmp	w8, #255
	b.ne	LBB0_15
; %bb.9:
	ldr	w8, [sp, #48]
	cmp	w8, #255
	b.ne	LBB0_15
; %bb.10:
	ldr	w8, [sp, #52]
	cbnz	w8, LBB0_15
LBB0_11:
Lloh12:
	adrp	x8, lCPI0_3@PAGE
Lloh13:
	ldr	d0, [x8, lCPI0_3@PAGEOFF]
LBB0_12:
	stur	d0, [x19, #4]
LBB0_13:
	ldur	x8, [x29, #-24]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.14:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_15:
	ldr	w0, [x19, #12]
	bl	_intfstream_get_size
	mov	w8, #7579
	movk	w8, #2229, lsl #16
	mov	w9, #59728
	movk	w9, #222, lsl #16
	madd	w8, w0, w8, w9
	ror	w8, w8, #4
	mov	w9, #56618
	movk	w9, #27, lsl #16
	cmp	w8, w9
	b.ls	LBB0_19
; %bb.16:
	tst	w0, #0x7ff
	b.eq	LBB0_20
; %bb.17:
	mov	w8, #61945
	movk	w8, #51171, lsl #16
	mov	w9, #57440
	movk	w9, #448, lsl #16
	madd	w8, w0, w8, w9
	ror	w8, w8, #5
	mov	w9, #3590
	movk	w9, #28, lsl #16
	cmp	w8, w9
	b.hi	LBB0_13
; %bb.18:
Lloh17:
	adrp	x8, lCPI0_2@PAGE
Lloh18:
	ldr	d0, [x8, lCPI0_2@PAGEOFF]
	b	LBB0_12
LBB0_19:
	mov	w8, #2352
	str	w8, [x19, #4]
	b	LBB0_13
LBB0_20:
	mov	w8, #2048
	str	w8, [x19, #4]
	b	LBB0_13
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpLdr	Lloh10, Lloh11
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdr	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.no_dead_strip	_cdfs_determine_sector_size
.subsections_via_symbols
