	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stl_sc26198portinit
_stl_sc26198portinit:                   ## @stl_sc26198portinit
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_pr_debug
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	testq	%r14, %r14
	je	LBB0_3
## %bb.2:
	testq	%r15, %r15
	je	LBB0_3
## %bb.4:
	movl	(%r15), %eax
	xorl	%ecx, %ecx
	cmpl	$8, %eax
	setge	%cl
	shlq	$2, %rcx
	addq	8(%r14), %rcx
	movl	12(%r15), %edi
	movq	%rcx, 24(%r15)
	shll	$4, %eax
	andl	$112, %eax
	movl	%eax, 4(%r15)
	movl	(%r14), %esi
	movl	%esi, 16(%r15)
	movl	$1, 8(%r15)
	callq	_BRDENABLE
	movq	_IOPCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IOPCR_SETSIGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_stl_sc26198setreg
	movl	12(%r15), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BRDDISABLE                     ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stl_sc26198portinit(brdp=%p,panelp=%p,portp=%p)\n"

	.comm	_IOPCR,4,2                      ## @IOPCR
	.comm	_IOPCR_SETSIGS,4,2              ## @IOPCR_SETSIGS
	.no_dead_strip	_stl_sc26198portinit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stl_sc26198portinit
_stl_sc26198portinit:                   ; @stl_sc26198portinit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_pr_debug
	cbz	x21, LBB0_4
; %bb.1:
	cbz	x20, LBB0_4
; %bb.2:
	cbz	x19, LBB0_4
; %bb.3:
	ldr	x8, [x20, #8]
	ldr	w9, [x19]
	cmp	w9, #7
	cset	w10, gt
	add	x8, x8, w10, uxtw #2
	str	x8, [x19, #24]
	ubfiz	w8, w9, #4, #3
	ldr	w1, [x20]
	str	w1, [x19, #16]
	mov	w9, #1
	stp	w8, w9, [x19, #4]
	ldr	w0, [x19, #12]
	bl	_BRDENABLE
Lloh2:
	adrp	x8, _IOPCR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IOPCR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _IOPCR_SETSIGS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IOPCR_SETSIGS@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_stl_sc26198setreg
	ldr	w0, [x19, #12]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_BRDDISABLE
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stl_sc26198portinit(brdp=%p,panelp=%p,portp=%p)\n"

	.comm	_IOPCR,4,2                      ; @IOPCR
	.comm	_IOPCR_SETSIGS,4,2              ; @IOPCR_SETSIGS
	.no_dead_strip	_stl_sc26198portinit
.subsections_via_symbols
