	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function meson_pinconf_get_drive_strength
_meson_pinconf_get_drive_strength:      ## @meson_pinconf_get_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	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	-32(%rbp), %rdx
	callq	_meson_get_bank
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movq	-32(%rbp), %rdi
	movq	_REG_DS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-20(%rbp), %rcx
	leaq	-40(%rbp), %r8
	movl	%r14d, %esi
	callq	_meson_calc_reg_and_bit
	movl	(%rbx), %edi
	movl	-20(%rbp), %esi
	leaq	-36(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_1:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
LBB0_5:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.comm	_REG_DS,4,2                     ## @REG_DS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_meson_pinconf_get_drive_strength
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function meson_pinconf_get_drive_strength
_meson_pinconf_get_drive_strength:      ; @meson_pinconf_get_drive_strength
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	add	x2, sp, #24
	bl	_meson_get_bank
	cbnz	w0, LBB0_6
; %bb.2:
	ldr	x0, [sp, #24]
Lloh0:
	adrp	x8, _REG_DS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_DS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x3, sp, #20
	add	x4, sp, #16
	mov	x1, x20
	bl	_meson_calc_reg_and_bit
	ldr	w0, [x19]
	ldr	w1, [sp, #20]
	add	x2, sp, #12
	bl	_regmap_read
	cbnz	w0, LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.comm	_REG_DS,4,2                     ; @REG_DS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_meson_pinconf_get_drive_strength
.subsections_via_symbols
