	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function serport_set_type
_serport_set_type:                      ## @serport_set_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rax
	movq	(%rdi), %rcx
	movzbl	%al, %edx
	movq	%rdx, (%rcx)
	movzbl	%ah, %edx
	movq	%rdx, 8(%rcx)
	shrl	$16, %eax
	movzbl	%al, %eax
	movq	%rax, 16(%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_serport_set_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function serport_set_type
lCPI0_0:
	.quad	-8                              ; 0xfffffffffffffff8
	.quad	-16                             ; 0xfffffffffffffff0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_serport_set_type:                      ; @serport_set_type
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	and	x9, x1, #0xff
	str	x9, [x8]
	dup.2d	v0, x1
Lloh0:
	adrp	x9, lCPI0_0@PAGE
Lloh1:
	ldr	q1, [x9, lCPI0_0@PAGEOFF]
	ushl.2d	v0, v0, v1
	movi.2d	v1, #0x000000000000ff
	and.16b	v0, v0, v1
	stur	q0, [x8, #8]
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_serport_set_type
.subsections_via_symbols
