	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_toc_entrys
_read_toc_entrys:                       ## @read_toc_entrys
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	_msf@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_CD_LBA_FORMAT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_CD_MSF_FORMAT@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, -8(%rbp)
	movq	$0, -16(%rbp)
	movl	%edi, -24(%rbp)
	movq	_toc_buffer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movq	_fd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CDIOREADTOCENTRYS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	callq	_ioctl
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_msf,8,3                        ## @msf
	.comm	_CD_MSF_FORMAT,4,2              ## @CD_MSF_FORMAT
	.comm	_CD_LBA_FORMAT,4,2              ## @CD_LBA_FORMAT
	.comm	_toc_buffer,4,2                 ## @toc_buffer
	.comm	_fd,4,2                         ## @fd
	.comm	_CDIOREADTOCENTRYS,4,2          ## @CDIOREADTOCENTRYS
	.no_dead_strip	_read_toc_entrys
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_toc_entrys
_read_toc_entrys:                       ; @read_toc_entrys
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
Lloh0:
	adrp	x8, _msf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _msf@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _CD_MSF_FORMAT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CD_MSF_FORMAT@GOTPAGEOFF]
Lloh5:
	adrp	x10, _CD_LBA_FORMAT@GOTPAGE
Lloh6:
	ldr	x10, [x10, _CD_LBA_FORMAT@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w8, [x8]
	str	w8, [sp, #24]
	str	xzr, [sp, #16]
Lloh7:
	adrp	x8, _toc_buffer@GOTPAGE
Lloh8:
	ldr	x8, [x8, _toc_buffer@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	stp	w0, w8, [sp, #8]
Lloh10:
	adrp	x8, _fd@GOTPAGE
Lloh11:
	ldr	x8, [x8, _fd@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _CDIOREADTOCENTRYS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CDIOREADTOCENTRYS@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_ioctl
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_msf,8,3                        ; @msf
	.comm	_CD_MSF_FORMAT,4,2              ; @CD_MSF_FORMAT
	.comm	_CD_LBA_FORMAT,4,2              ; @CD_LBA_FORMAT
	.comm	_toc_buffer,4,2                 ; @toc_buffer
	.comm	_fd,4,2                         ; @fd
	.comm	_CDIOREADTOCENTRYS,4,2          ; @CDIOREADTOCENTRYS
	.no_dead_strip	_read_toc_entrys
.subsections_via_symbols
