	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function madera_pin_make_drv_str
_madera_pin_make_drv_str:               ## @madera_pin_make_drv_str
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	xorl	%ebx, %ebx
	cmpl	$4, %esi
	je	LBB0_4
## %bb.1:
	movl	%esi, %edx
	cmpl	$8, %esi
	jne	LBB0_3
## %bb.2:
	movq	_MADERA_GP1_DRV_STR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$2, %ebx
	shll	%cl, %ebx
	jmp	LBB0_4
LBB0_3:
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MADERA_GP1_DRV_STR_SHIFT,4,2   ## @MADERA_GP1_DRV_STR_SHIFT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u mA not a valid drive strength"

	.no_dead_strip	_madera_pin_make_drv_str
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function madera_pin_make_drv_str
_madera_pin_make_drv_str:               ; @madera_pin_make_drv_str
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmp	w1, #4
	b.eq	LBB0_4
; %bb.1:
	mov	x2, x1
	cmp	w1, #8
	b.ne	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _MADERA_GP1_DRV_STR_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MADERA_GP1_DRV_STR_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #2
	lsl	w0, w9, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	w0, [x0]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MADERA_GP1_DRV_STR_SHIFT,4,2   ; @MADERA_GP1_DRV_STR_SHIFT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u mA not a valid drive strength"

	.no_dead_strip	_madera_pin_make_drv_str
.subsections_via_symbols
