	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rds_iw_update_cm_id            ## -- Begin function rds_iw_update_cm_id
	.p2align	4, 0x90
_rds_iw_update_cm_id:                   ## @rds_iw_update_cm_id
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	4(%rsi), %xmm0                  ## xmm0 = mem[0],zero
	movd	(%rsi), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	pshufd	$64, %xmm0, %xmm0               ## xmm0 = xmm0[0,0,0,1]
	pblendw	$3, %xmm1, %xmm0                ## xmm0 = xmm1[0,1],xmm0[2,3,4,5,6,7]
	movdqa	%xmm0, -32(%rbp)
	leaq	-32(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	callq	_rds_iw_get_device
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_rds_iw_remove_cm_id
LBB0_2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_rds_iw_add_cm_id
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rds_iw_update_cm_id            ; -- Begin function rds_iw_update_cm_id
	.p2align	2
_rds_iw_update_cm_id:                   ; @rds_iw_update_cm_id
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	add	x8, x1, #8
	ldr	d0, [x1]
	mov.s	v0[2], v0[1]
	ld1.s	{ v0 }[3], [x8]
	str	q0, [sp, #16]
	add	x0, sp, #16
	sub	x1, x29, #24
	add	x2, sp, #8
	bl	_rds_iw_get_device
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_rds_iw_remove_cm_id
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	bl	_rds_iw_add_cm_id
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
