	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mptscsih_bios_param            ## -- Begin function mptscsih_bios_param
	.p2align	4, 0x90
_mptscsih_bios_param:                   ## @mptscsih_bios_param
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %r14
	movl	%edx, %ebx
	movl	%edx, %edi
	movl	$2048, %esi                     ## imm = 0x800
	callq	_sector_div
	cmpl	$2097152, %ebx                  ## imm = 0x200000
	jl	LBB0_1
## %bb.2:
	movl	%ebx, %edi
	movl	$16065, %esi                    ## imm = 0x3EC1
	callq	_sector_div
	movl	$63, %eax
	movl	$255, %ecx
	jmp	LBB0_3
LBB0_1:
	movl	$32, %eax
	movl	$64, %ecx
LBB0_3:
	movl	%ecx, (%r14)
	movl	%eax, 4(%r14)
	movl	%ebx, 8(%r14)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.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 mptscsih_bios_param
lCPI0_0:
	.long	64                              ; 0x40
	.long	32                              ; 0x20
lCPI0_1:
	.long	255                             ; 0xff
	.long	63                              ; 0x3f
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_mptscsih_bios_param
	.p2align	2
_mptscsih_bios_param:                   ; @mptscsih_bios_param
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x3
	mov	x20, x2
	mov	x0, x2
	mov	w1, #2048
	bl	_sector_div
	cmp	w20, #512, lsl #12              ; =2097152
	b.lt	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	w1, #16065
	bl	_sector_div
Lloh0:
	adrp	x8, lCPI0_1@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
LBB0_3:
	str	d0, [x19]
	str	w20, [x19, #8]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdr	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
