	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function convert_current_to_drive_strength
_convert_current_to_drive_strength:     ## @convert_current_to_drive_strength
	.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	%rsi, %r14
	movq	%rdi, %r13
	movq	_atlas7_ma2ds_map@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	movq	_DS_NULL@GOTPCREL(%rip), %rdi
	testl	%eax, %eax
	jle	LBB0_16
## %bb.1:
	movl	$16, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	callq	_ARRAY_SIZE
	cltq
	addq	$40, %rbx
	cmpq	%rax, %r15
	jge	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	cmpq	%r14, -16(%rdi,%rbx)
	jne	LBB0_14
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PAD_T_4WE_PD@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PAD_T_4WE_PU@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PAD_T_16ST@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PAD_T_M31_0204_PD@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PAD_T_M31_0204_PU@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_PAD_T_M31_0610_PD@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_PAD_T_M31_0610_PU@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	jne	LBB0_14
LBB0_13:
	addq	%rbx, %rdi
	addq	$16, %rdi
	jmp	LBB0_16
LBB0_15:
	movq	_DS_NULL@GOTPCREL(%rip), %rdi
	jmp	LBB0_16
LBB0_5:
	addq	%rbx, %rdi
	addq	$-8, %rdi
	jmp	LBB0_16
LBB0_7:
	addq	%rbx, %rdi
	jmp	LBB0_16
LBB0_10:
	addq	%rbx, %rdi
	addq	$8, %rdi
LBB0_16:
	movq	(%rdi), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_atlas7_ma2ds_map,8,3           ## @atlas7_ma2ds_map
	.comm	_PAD_T_4WE_PD,8,3               ## @PAD_T_4WE_PD
	.comm	_PAD_T_4WE_PU,8,3               ## @PAD_T_4WE_PU
	.comm	_PAD_T_16ST,8,3                 ## @PAD_T_16ST
	.comm	_PAD_T_M31_0204_PD,8,3          ## @PAD_T_M31_0204_PD
	.comm	_PAD_T_M31_0204_PU,8,3          ## @PAD_T_M31_0204_PU
	.comm	_PAD_T_M31_0610_PD,8,3          ## @PAD_T_M31_0610_PD
	.comm	_PAD_T_M31_0610_PU,8,3          ## @PAD_T_M31_0610_PU
	.comm	_DS_NULL,8,3                    ## @DS_NULL
	.no_dead_strip	_convert_current_to_drive_strength
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function convert_current_to_drive_strength
_convert_current_to_drive_strength:     ; @convert_current_to_drive_strength
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _atlas7_ma2ds_map@GOTPAGE
Lloh1:
	ldr	x22, [x22, _atlas7_ma2ds_map@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x23, #0
	mov	x24, #0
Lloh2:
	adrp	x25, _PAD_T_4WE_PD@GOTPAGE
Lloh3:
	ldr	x25, [x25, _PAD_T_4WE_PD@GOTPAGEOFF]
Lloh4:
	adrp	x26, _PAD_T_4WE_PU@GOTPAGE
Lloh5:
	ldr	x26, [x26, _PAD_T_4WE_PU@GOTPAGEOFF]
Lloh6:
	adrp	x27, _PAD_T_16ST@GOTPAGE
Lloh7:
	ldr	x27, [x27, _PAD_T_16ST@GOTPAGEOFF]
Lloh8:
	adrp	x21, _PAD_T_M31_0204_PU@GOTPAGE
Lloh9:
	ldr	x21, [x21, _PAD_T_M31_0204_PU@GOTPAGEOFF]
Lloh10:
	adrp	x28, _PAD_T_M31_0610_PU@GOTPAGE
Lloh11:
	ldr	x28, [x28, _PAD_T_M31_0610_PU@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	bl	_ARRAY_SIZE
	add	x23, x23, #40
	cmp	x24, w0, sxtw
	b.ge	LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	ldr	x8, [x0, x23]
	cmp	x8, x19
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x25]
	ldr	x9, [x26]
	cmp	x8, x20
	ccmp	x9, x20, #4, ne
	b.eq	LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x27]
	cmp	x8, x20
	b.eq	LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh12:
	adrp	x8, _PAD_T_M31_0204_PD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PAD_T_M31_0204_PD@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	x9, [x21]
	cmp	x8, x20
	ccmp	x9, x20, #4, ne
	b.eq	LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh15:
	adrp	x8, _PAD_T_M31_0610_PD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PAD_T_M31_0610_PD@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	x9, [x28]
	cmp	x8, x20
	ccmp	x9, x20, #4, ne
	b.ne	LBB0_2
; %bb.8:
	add	x8, x0, x23
	add	x8, x8, #32
	b	LBB0_10
LBB0_9:
Lloh18:
	adrp	x8, _DS_NULL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DS_NULL@GOTPAGEOFF]
LBB0_10:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_11:
	add	x8, x0, x23
	add	x8, x8, #8
	b	LBB0_10
LBB0_12:
	add	x8, x0, x23
	add	x8, x8, #16
	b	LBB0_10
LBB0_13:
	add	x8, x0, x23
	add	x8, x8, #24
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_atlas7_ma2ds_map,8,3           ; @atlas7_ma2ds_map
	.comm	_PAD_T_4WE_PD,8,3               ; @PAD_T_4WE_PD
	.comm	_PAD_T_4WE_PU,8,3               ; @PAD_T_4WE_PU
	.comm	_PAD_T_16ST,8,3                 ; @PAD_T_16ST
	.comm	_PAD_T_M31_0204_PD,8,3          ; @PAD_T_M31_0204_PD
	.comm	_PAD_T_M31_0204_PU,8,3          ; @PAD_T_M31_0204_PU
	.comm	_PAD_T_M31_0610_PD,8,3          ; @PAD_T_M31_0610_PD
	.comm	_PAD_T_M31_0610_PU,8,3          ; @PAD_T_M31_0610_PU
	.comm	_DS_NULL,8,3                    ; @DS_NULL
	.no_dead_strip	_convert_current_to_drive_strength
.subsections_via_symbols
