	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fwctl_handler
_fwctl_handler:                         ## @fwctl_handler
	.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
	movq	%r9, %rbx
	testl	%edx, %edx
	je	LBB0_6
## %bb.1:
	cmpl	$4, %r8d
	je	LBB0_4
## %bb.2:
	cmpl	$1, %r8d
	jne	LBB0_5
## %bb.3:
	xorl	%eax, %eax
	callq	_fwctl_inb
	movl	%eax, (%rbx)
	jmp	LBB0_10
LBB0_6:
	cmpl	$4, %r8d
	je	LBB0_9
## %bb.7:
	cmpl	$2, %r8d
	jne	LBB0_10
## %bb.8:
	movl	(%rbx), %edi
	callq	_fwctl_outw
	jmp	LBB0_10
LBB0_4:
	xorl	%eax, %eax
	callq	_fwctl_inl
	movl	%eax, (%rbx)
	jmp	LBB0_10
LBB0_5:
	movl	$65535, (%rbx)                  ## imm = 0xFFFF
	jmp	LBB0_10
LBB0_9:
	movl	(%rbx), %edi
	callq	_fwctl_outl
LBB0_10:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_fwctl_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fwctl_handler
_fwctl_handler:                         ; @fwctl_handler
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x5
	cmp	w4, #4
	cbz	w2, LBB0_4
; %bb.1:
	b.eq	LBB0_7
; %bb.2:
	cmp	w4, #1
	b.ne	LBB0_8
; %bb.3:
	bl	_fwctl_inb
	str	w0, [x19]
	b	LBB0_10
LBB0_4:
	b.eq	LBB0_9
; %bb.5:
	cmp	w4, #2
	b.ne	LBB0_10
; %bb.6:
	ldr	w0, [x19]
	bl	_fwctl_outw
	b	LBB0_10
LBB0_7:
	bl	_fwctl_inl
	str	w0, [x19]
	b	LBB0_10
LBB0_8:
	mov	w8, #65535
	str	w8, [x19]
	b	LBB0_10
LBB0_9:
	ldr	w0, [x19]
	bl	_fwctl_outl
LBB0_10:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_fwctl_handler
.subsections_via_symbols
