	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function genprobe_new_chip
_genprobe_new_chip:                     ## @genprobe_new_chip
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_map_bankwidth
                                        ## kill: def $eax killed $eax def $rax
	leal	3(%rax), %ecx
	movl	$1, %ebx
	cmpl	$7, %ecx
	jb	LBB0_2
## %bb.1:
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$2, %ecx
	movl	%ecx, %ebx
LBB0_2:
	movq	%r15, %rdi
	callq	_map_bankwidth
	movl	%eax, %r13d
	xorl	%eax, %eax
	cmpl	%ebx, %r13d
	jl	LBB0_12
## %bb.3:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	sarl	%r13d
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	cmpl	%ebx, %r13d
	jl	LBB0_11
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movl	%r13d, %edi
	callq	_cfi_interleave_supported
	testl	%eax, %eax
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%r13d, (%r12)
	movq	%r15, %rdi
	callq	_map_bankwidth
	cltd
	idivl	%r13d
	movl	%eax, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_CFI_DEVICETYPE_X32@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jg	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movl	%ebx, 4(%r12)
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%r12, %rcx
	callq	*(%r14)
	testq	%rax, %rax
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=2
	addl	%ebx, %ebx
	jmp	LBB0_7
LBB0_9:
	movl	$1, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	xorl	%eax, %eax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_CFI_DEVICETYPE_X32,4,2         ## @CFI_DEVICETYPE_X32
	.no_dead_strip	_genprobe_new_chip
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function genprobe_new_chip
_genprobe_new_chip:                     ; @genprobe_new_chip
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_map_bankwidth
	add	w8, w0, #3
	cmp	w0, #0
	csel	w9, w8, w0, lt
	asr	w9, w9, #2
	cmp	w8, #7
	csinc	w23, w9, wzr, hs
	mov	x0, x21
	bl	_map_bankwidth
	cmp	w0, w23
	b.ge	LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_10
LBB0_2:
	mov	x22, x0
Lloh0:
	adrp	x24, _CFI_DEVICETYPE_X32@GOTPAGE
Lloh1:
	ldr	x24, [x24, _CFI_DEVICETYPE_X32@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	asr	w22, w22, #1
	cmp	w22, w23
	b.lt	LBB0_1
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	mov	x0, x22
	bl	_cfi_interleave_supported
	cbz	w0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w22, [x19]
	mov	x0, x21
	bl	_map_bankwidth
	sdiv	w25, w0, w22
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x24]
	cmp	w25, w8
	b.gt	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	str	w25, [x19, #4]
	ldr	x8, [x20]
	mov	x0, x21
	mov	w1, #0
	mov	x2, #0
	mov	x3, x19
	blr	x8
	cbnz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	lsl	w25, w25, #1
	b	LBB0_6
LBB0_9:
	mov	w0, #1
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CFI_DEVICETYPE_X32,4,2         ; @CFI_DEVICETYPE_X32
	.no_dead_strip	_genprobe_new_chip
.subsections_via_symbols
