	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dispc_mgr_set_io_pad_mode
_dispc_mgr_set_io_pad_mode:             ## @dispc_mgr_set_io_pad_mode
	.cfi_startproc
## %bb.0:
	addl	$-128, %esi
	cmpl	$3, %esi
	jae	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movslq	%esi, %rax
	leaq	l_switch.table.dispc_mgr_set_io_pad_mode(%rip), %rcx
	movl	(%rcx,%rax,4), %r14d
	leaq	l_switch.table.dispc_mgr_set_io_pad_mode.1(%rip), %rcx
	movl	(%rcx,%rax,4), %r15d
	movq	_DISPC_CONTROL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_dispc_read_reg
	movl	%eax, %edi
	movl	%r14d, %esi
	movl	$15, %edx
	movl	$15, %ecx
	callq	_FLD_MOD
	movl	%eax, %edi
	movl	%r15d, %esi
	movl	$16, %edx
	movl	$16, %ecx
	callq	_FLD_MOD
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dispc_write_reg                ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	jmp	_BUG                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DISPC_CONTROL,4,2              ## @DISPC_CONTROL
	.no_dead_strip	_dispc_mgr_set_io_pad_mode
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.dispc_mgr_set_io_pad_mode
l_switch.table.dispc_mgr_set_io_pad_mode:
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	1                               ## 0x1

	.p2align	2                               ## @switch.table.dispc_mgr_set_io_pad_mode.1
l_switch.table.dispc_mgr_set_io_pad_mode.1:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	1                               ## 0x1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dispc_mgr_set_io_pad_mode
_dispc_mgr_set_io_pad_mode:             ; @dispc_mgr_set_io_pad_mode
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #3
	b.hs	LBB0_2
; %bb.1:
	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, x0
	sbfiz	x8, x8, #2, #32
Lloh0:
	adrp	x9, l_switch.table.dispc_mgr_set_io_pad_mode@PAGE
Lloh1:
	add	x9, x9, l_switch.table.dispc_mgr_set_io_pad_mode@PAGEOFF
	ldr	w20, [x9, x8]
Lloh2:
	adrp	x9, l_switch.table.dispc_mgr_set_io_pad_mode.1@PAGE
Lloh3:
	add	x9, x9, l_switch.table.dispc_mgr_set_io_pad_mode.1@PAGEOFF
	ldr	w21, [x9, x8]
Lloh4:
	adrp	x22, _DISPC_CONTROL@GOTPAGE
Lloh5:
	ldr	x22, [x22, _DISPC_CONTROL@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_dispc_read_reg
	mov	x1, x20
	mov	w2, #15
	mov	w3, #15
	bl	_FLD_MOD
	mov	x1, x21
	mov	w2, #16
	mov	w3, #16
	bl	_FLD_MOD
	mov	x2, x0
	ldr	w1, [x22]
	mov	x0, x19
	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	_dispc_write_reg
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	b	_BUG
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DISPC_CONTROL,4,2              ; @DISPC_CONTROL
	.no_dead_strip	_dispc_mgr_set_io_pad_mode
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.dispc_mgr_set_io_pad_mode
l_switch.table.dispc_mgr_set_io_pad_mode:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	1                               ; 0x1

	.p2align	2                               ; @switch.table.dispc_mgr_set_io_pad_mode.1
l_switch.table.dispc_mgr_set_io_pad_mode.1:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	1                               ; 0x1

.subsections_via_symbols
